camerauis/cameraxui/cxengine/inc/cxeenginesymbian.h
changeset 43 0e652f8f1fbd
parent 28 3075d9b614e6
child 45 24fd82631616
equal deleted inserted replaced
28:3075d9b614e6 43:0e652f8f1fbd
    22 #include "cxefilenamegenerator.h"
    22 #include "cxefilenamegenerator.h"
    23 
    23 
    24 class CxeCameraDevice;
    24 class CxeCameraDevice;
    25 class CxeCameraDeviceControl;
    25 class CxeCameraDeviceControl;
    26 class CxeViewfinderControl;
    26 class CxeViewfinderControl;
       
    27 class CxeSnapshotControl;
    27 class CxeStillCaptureControl;
    28 class CxeStillCaptureControl;
    28 class CxeVideoCaptureControl;
    29 class CxeVideoCaptureControl;
    29 class CxeSettingsControlSymbian;
    30 class CxeSettingsControlSymbian;
    30 class CxeAutoFocusControl;
    31 class CxeAutoFocusControl;
    31 class CxeFeatureManager;
    32 class CxeFeatureManager;
    37 class CxeFilenameGenerator;
    38 class CxeFilenameGenerator;
    38 class CxeQualityPresets;
    39 class CxeQualityPresets;
    39 class CxeFileSaveThread;
    40 class CxeFileSaveThread;
    40 class CxeDiskMonitor;
    41 class CxeDiskMonitor;
    41 class CxeMemoryMonitor;
    42 class CxeMemoryMonitor;
       
    43 class CxeGeoTaggingTrail;
    42 
    44 
    43 
    45 
    44 class CxeEngineSymbian : public CxeEngine
    46 class CxeEngineSymbian : public CxeEngine
    45 {
    47 {
    46     Q_OBJECT
    48     Q_OBJECT
    48     CxeEngineSymbian();
    50     CxeEngineSymbian();
    49     virtual ~CxeEngineSymbian();
    51     virtual ~CxeEngineSymbian();
    50 
    52 
    51     CxeCameraDeviceControl &cameraDeviceControl();
    53     CxeCameraDeviceControl &cameraDeviceControl();
    52     CxeViewfinderControl &viewfinderControl();
    54     CxeViewfinderControl &viewfinderControl();
       
    55     CxeSnapshotControl &snapshotControl();
    53     CxeStillCaptureControl &stillCaptureControl();
    56     CxeStillCaptureControl &stillCaptureControl();
    54     CxeVideoCaptureControl &videoCaptureControl();
    57     CxeVideoCaptureControl &videoCaptureControl();
    55     CxeAutoFocusControl &autoFocusControl();
    58     CxeAutoFocusControl &autoFocusControl();
    56     CxeZoomControl &zoomControl();
    59     CxeZoomControl &zoomControl();
    57     CxeSettings &settings();
    60     CxeSettings &settings();
    58     CxeSensorEventHandler &sensorEventHandler();
    61     CxeSensorEventHandler &sensorEventHandler();
    59     CxeFeatureManager &featureManager();
    62     CxeFeatureManager &featureManager();
    60     CxeMemoryMonitor &memoryMonitor();
    63     CxeMemoryMonitor &memoryMonitor();
       
    64     CxeGeoTaggingTrail &geoTaggingTrail();
    61     Cxe::CameraMode mode() const;
    65     Cxe::CameraMode mode() const;
       
    66     void setMode(Cxe::CameraMode mode);
    62     void initMode(Cxe::CameraMode cameraMode);
    67     void initMode(Cxe::CameraMode cameraMode);
    63     bool isEngineReady();
    68     bool isEngineReady();
       
    69 
       
    70     void construct();
    64 
    71 
    65 signals:
    72 signals:
    66     void reserveStarted();
    73     void reserveStarted();
    67 
    74 
    68 protected:
    75 protected:
    69     virtual void createControls();
    76     virtual void createControls();
    70 
    77 
    71 private slots:
    78 private slots:
    72     void construct();
       
    73     void doInit();
    79     void doInit();
    74 
    80 
    75 private:
    81 private:
    76     void connectSignals();
    82     void connectSignals();
    77     bool reserveNeeded();
    83     bool reserveNeeded();
    78     bool initNeeded();
    84     bool initNeeded();
    79     bool startViewfinderNeeded();
    85     bool startViewfinderNeeded();
    80     void reserve();
    86     void reserve();
       
    87     void saveMode();
       
    88     void startGeotaggingTrail();
    81 
    89 
    82 protected:
    90 protected:
    83     CxeCameraDeviceControl *mCameraDeviceControl;
    91     CxeCameraDeviceControl *mCameraDeviceControl;
    84     CxeCameraDevice *mCameraDevice; // not own
    92     CxeCameraDevice *mCameraDevice; // not own
    85     CxeViewfinderControl *mViewfinderControl;
    93     CxeViewfinderControl *mViewfinderControl;
       
    94     CxeSnapshotControl *mSnapshotControl;
    86     CxeStillCaptureControl *mStillCaptureControl;
    95     CxeStillCaptureControl *mStillCaptureControl;
    87     CxeVideoCaptureControl *mVideoCaptureControl;
    96     CxeVideoCaptureControl *mVideoCaptureControl;
    88     CxeSettingsControlSymbian *mSettingsControl;
    97     CxeSettingsControlSymbian *mSettingsControl;
    89     CxeAutoFocusControl *mAutoFocusControl;
    98     CxeAutoFocusControl *mAutoFocusControl;
    90     CxeZoomControl *mZoomControl;
    99     CxeZoomControl *mZoomControl;
    95     CxeSensorEventHandler* mSensorEventHandler;
   104     CxeSensorEventHandler* mSensorEventHandler;
    96     CxeQualityPresets *mQualityPresets;
   105     CxeQualityPresets *mQualityPresets;
    97     CxeFileSaveThread *mFileSaveThread;
   106     CxeFileSaveThread *mFileSaveThread;
    98     CxeDiskMonitor *mDiskMonitor;
   107     CxeDiskMonitor *mDiskMonitor;
    99     CxeMemoryMonitor *mMemoryMonitor;
   108     CxeMemoryMonitor *mMemoryMonitor;
       
   109     CxeGeoTaggingTrail *mGeoTaggingTrail;
   100 };
   110 };
   101 
   111 
   102 
   112 
   103 #endif  // CXEENGINESYMBIAN_H
   113 #endif  // CXEENGINESYMBIAN_H
   104 
   114