src/hbcore/devicedialogbase/hbdevicedialogsymbian.h
changeset 34 ed14f46c0e55
parent 7 923ff622b8b9
equal deleted inserted replaced
31:7516d6d86cf5 34:ed14f46c0e55
    40     virtual void DataReceived(CHbSymbianVariantMap& aData) = 0;
    40     virtual void DataReceived(CHbSymbianVariantMap& aData) = 0;
    41 
    41 
    42     virtual void DeviceDialogClosed(TInt aCompletionCode) = 0;
    42     virtual void DeviceDialogClosed(TInt aCompletionCode) = 0;
    43 };
    43 };
    44 
    44 
    45 class CHbDeviceDialogSymbian : public CBase
    45 class CHbDeviceDialogSymbian
       
    46 #if !defined(HB_DOXYGEN)
       
    47 : public CBase
       
    48 #endif // !defined(HB_DOXYGEN)
    46 {
    49 {
    47 public:
    50 public:
    48 
       
    49     enum TDeviceDialogError{
    51     enum TDeviceDialogError{
    50         EFrameworkErrors = 0x00000000,
    52         EFrameworkErrors = 0x00000000,
    51         EPluginErrors = 0x10000000,
    53         EPluginErrors = 0x10000000,
    52         EErrorTypeMask = 0xf0000000,
    54         EErrorTypeMask = 0xf0000000,
    53         ECancelledError = 0x0fffffff,
    55         ECancelledError = 0x0fffffff,
    60         EImmediateResourceReservation = 0x1,
    62         EImmediateResourceReservation = 0x1,
    61         EASyncServerStartup = 0x2
    63         EASyncServerStartup = 0x2
    62     };
    64     };
    63 
    65 
    64     IMPORT_C static CHbDeviceDialogSymbian* NewL(TInt aFlags = ENoDeviceDialogFlags);
    66     IMPORT_C static CHbDeviceDialogSymbian* NewL(TInt aFlags = ENoDeviceDialogFlags);
    65 
    67     IMPORT_C virtual ~CHbDeviceDialogSymbian();
    66     IMPORT_C ~CHbDeviceDialogSymbian();
       
    67 
    68 
    68     IMPORT_C TInt Show(const TDesC& aDeviceDialogType, const CHbSymbianVariantMap& aParameters, MHbDeviceDialogObserver* aObserver = NULL);
    69     IMPORT_C TInt Show(const TDesC& aDeviceDialogType, const CHbSymbianVariantMap& aParameters, MHbDeviceDialogObserver* aObserver = NULL);
    69 
       
    70     IMPORT_C CHbSymbianVariantMap* ReceivedDataL() const;
    70     IMPORT_C CHbSymbianVariantMap* ReceivedDataL() const;
    71 
       
    72     IMPORT_C TInt Update(const CHbSymbianVariantMap& aParameters);
    71     IMPORT_C TInt Update(const CHbSymbianVariantMap& aParameters);
    73 
       
    74     IMPORT_C void Cancel();
    72     IMPORT_C void Cancel();
    75 
       
    76     IMPORT_C void SetObserver(MHbDeviceDialogObserver* aObserver);
    73     IMPORT_C void SetObserver(MHbDeviceDialogObserver* aObserver);
    77 
    74 
    78 private:
    75 private:
    79     CHbDeviceDialogSymbian();
    76     CHbDeviceDialogSymbian();
    80 
       
    81     CHbDeviceDialogSymbianPrivate* d;
    77     CHbDeviceDialogSymbianPrivate* d;
    82 };
    78 };
    83 
    79 
    84 #endif // defined(__SYMBIAN32__) || defined(SYMBIAN) || defined(HB_DOXYGEN)
    80 #endif // defined(__SYMBIAN32__) || defined(SYMBIAN) || defined(HB_DOXYGEN)
    85 
    81