camerauis/cameraxui/cxui/inc/cxuiserviceprovider.h
changeset 58 ddba9caa7f32
parent 19 d9aefe59d544
equal deleted inserted replaced
55:0da2a5b56583 58:ddba9caa7f32
     1 /*
     1 /*
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    35     static void create(CxeEngine* engine);
    35     static void create(CxeEngine* engine);
    36     static CxuiServiceProvider* instance();
    36     static CxuiServiceProvider* instance();
    37     static void destroy();
    37     static void destroy();
    38     static bool isCameraEmbedded();
    38     static bool isCameraEmbedded();
    39 
    39 
    40     Cxe::CameraMode requestedMode();
    40     Cxe::CameraMode requestedMode() const;
    41 
    41 
    42     bool allowModeSwitching();
    42     bool allowModeSwitching() const;
    43     bool allowQualityChange();
    43     bool allowQualityChange() const;
    44     bool allowCameraSwitching();
    44     bool allowCameraSwitching() const;
       
    45 
       
    46     QString windowTitle() const;
    45 
    47 
    46 public slots:
    48 public slots:
    47 
    49 
    48     /*
    50     /*
    49      * Mode: image = 0, video = 1
    51      * Mode: image = 0, video = 1
    73     int mCameraIndex;
    75     int mCameraIndex;
    74     int mQuality;
    76     int mQuality;
    75     bool mAllowModeSwitching;
    77     bool mAllowModeSwitching;
    76     bool mAllowQualityChange;
    78     bool mAllowQualityChange;
    77     bool mAllowCameraSwitching;
    79     bool mAllowCameraSwitching;
       
    80     QString mWindowTitle;
    78 
    81 
    79 };
    82 };
    80 
    83 
    81 #endif /* CXUISERVICEPROVIDER_H_ */
    84 #endif /* CXUISERVICEPROVIDER_H_ */