camerauis/cameraxui/cxengine/inc/api/cxeengine.h
changeset 21 fa6d9f75d6a6
parent 19 d9aefe59d544
child 29 699651f2666f
child 43 0e652f8f1fbd
equal deleted inserted replaced
19:d9aefe59d544 21:fa6d9f75d6a6
    15 *
    15 *
    16 */
    16 */
    17 #ifndef CXEENGINE_H
    17 #ifndef CXEENGINE_H
    18 #define CXEENGINE_H
    18 #define CXEENGINE_H
    19 
    19 
    20 #include <QObject> 
    20 #include <QObject>
    21 #include "cxenamespace.h"
    21 #include "cxenamespace.h"
    22 
    22 
    23 class CxeCameraDeviceControl;
    23 class CxeCameraDeviceControl;
    24 class CxeViewfinderControl;
    24 class CxeViewfinderControl;
    25 class CxeStillCaptureControl;
    25 class CxeStillCaptureControl;
    27 class CxeAutoFocusControl;
    27 class CxeAutoFocusControl;
    28 class CxeZoomControl;
    28 class CxeZoomControl;
    29 class CxeImageDataQueue;
    29 class CxeImageDataQueue;
    30 class CxeFeatureManager;
    30 class CxeFeatureManager;
    31 class CxeSettings;
    31 class CxeSettings;
       
    32 class CxeMemoryMonitor;
    32 
    33 
    33 /**
    34 /**
    34  * CxeEngine provides the the entry point into CameraX engine. This is the
    35  * CxeEngine provides the the entry point into CameraX engine. This is the
    35  * first class the client needs to initialize. CxeEngine then provides
    36  * first class the client needs to initialize. CxeEngine then provides
    36  * references to other CameraX engine objects. 
    37  * references to other CameraX engine objects.
    37  */
    38  */
    38 class CxeEngine : public QObject
    39 class CxeEngine : public QObject
    39 {
    40 {
    40     Q_OBJECT
    41     Q_OBJECT
    41 public:
    42 public:
    79 
    80 
    80     /**
    81     /**
    81      * Access the settings model.
    82      * Access the settings model.
    82      */
    83      */
    83     virtual CxeSettings &settings() = 0;
    84     virtual CxeSettings &settings() = 0;
       
    85 
       
    86     /**
       
    87      * Access the feature manager.
       
    88      */
    84     virtual CxeFeatureManager &featureManager() = 0;
    89     virtual CxeFeatureManager &featureManager() = 0;
       
    90 
       
    91     /**
       
    92      * Memory monitor utility.
       
    93      */
       
    94     virtual CxeMemoryMonitor &memoryMonitor() = 0;
    85 
    95 
    86     /**
    96     /**
    87      * Get current camera mode.
    97      * Get current camera mode.
    88      */
    98      */
    89     virtual Cxe::CameraMode mode() const = 0;
    99     virtual Cxe::CameraMode mode() const = 0;