sa_sensor_proximity_qt.hpp

Go to the documentation of this file.
00001 #ifndef __sa_sensor_proximity_qt_hpp__
00002 #define __sa_sensor_proximity_qt_hpp__
00003 
00004 #include "ac_app_context.h"
00005 #include "sa_qt_sensors.hpp"
00006 
00007 QTM_USE_NAMESPACE
00008 
00009 class Sensor_proximity :
00010   public ClQtEventSensorBase
00011 {
00012   Q_OBJECT
00013 
00014  public:
00015   Sensor_proximity(ac_AppContext* aAppContext);
00016 
00017  private:
00018   virtual const char* Name() const;
00019 
00020  private:
00021   virtual void handleReadingChanged();
00022 };
00023 
00024 #endif /* __sa_sensor_proximity_qt_hpp__ */
00025 
00026 /**
00027 
00028 Copyright 2010 Helsinki Institute for Information Technology (HIIT)
00029 and the authors. All rights reserved.
00030 
00031 Authors: Tero Hasu <tero.hasu@hut.fi>
00032 
00033 Permission is hereby granted, free of charge, to any person
00034 obtaining a copy of this software and associated documentation files
00035 (the "Software"), to deal in the Software without restriction,
00036 including without limitation the rights to use, copy, modify, merge,
00037 publish, distribute, sublicense, and/or sell copies of the Software,
00038 and to permit persons to whom the Software is furnished to do so,
00039 subject to the following conditions:
00040 
00041 The above copyright notice and this permission notice shall be
00042 included in all copies or substantial portions of the Software.
00043 
00044 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
00045 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
00046 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
00047 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
00048 BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
00049 ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
00050 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
00051 SOFTWARE.
00052 
00053  **/

ContextLogger2—ContextLogger2 Logger Daemon Internals—Generated on Mon May 2 13:49:56 2011 by Doxygen 1.6.1