homescreensrv_plat/contentstorage_api/cadefs.h
changeset 103 b99b84bcd2d1
parent 83 156f692b1687
child 115 3ab5c078b490
equal deleted inserted replaced
83:156f692b1687 103:b99b84bcd2d1
    47 };
    47 };
    48 
    48 
    49 enum EntryFlag
    49 enum EntryFlag
    50 {
    50 {
    51     UsedEntryFlag = 1,
    51     UsedEntryFlag = 1,
    52     SystemEntryFlag = 2,
    52     UninstallEntryFlag = 2,
    53     RemovableEntryFlag = 4,
    53     RemovableEntryFlag = 4,
    54     VisibleEntryFlag = 8,
    54     VisibleEntryFlag = 8,
    55     RunningEntryFlag = 16,
    55     RunningEntryFlag = 16,
    56     NativeEntryFlag = 32,
    56     NativeEntryFlag = 32,
    57     MissingEntryFlag = 64
    57     MissingEntryFlag = 64
    58 };
    58 };
       
    59 
       
    60 enum LocalizationType
       
    61 {
       
    62     NameLocalized,
       
    63     DescriptionLocalized
       
    64 };
       
    65 
    59 Q_DECLARE_FLAGS(EntryFlags, EntryFlag)
    66 Q_DECLARE_FLAGS(EntryFlags, EntryFlag)
    60 Q_DECLARE_OPERATORS_FOR_FLAGS(EntryFlags)
    67 Q_DECLARE_OPERATORS_FOR_FLAGS(EntryFlags)
    61 Q_DECLARE_METATYPE(EntryFlags)
    68 Q_DECLARE_METATYPE(EntryFlags)
    62 
    69 
    63 enum ErrorCode
    70 enum ErrorCode
    69     ServerTerminated,
    76     ServerTerminated,
    70     UnknownErrorCode
    77     UnknownErrorCode
    71 };
    78 };
    72 
    79 
    73 static const QString caCmdOpen("open");
    80 static const QString caCmdOpen("open");
       
    81 static const QString caCmdRemove("remove");
    74 
    82 
    75 #ifndef QT_NO_DEBUG_OUTPUT
    83 #ifndef QT_NO_DEBUG_OUTPUT
    76 #   define USE_QDEBUG_IF(predicate) if (!predicate) {} else qDebug()
    84 #   define USE_QDEBUG_IF(predicate) if (!predicate) {} else qDebug()
    77 #else
    85 #else
    78 #   define USE_QDEBUG_IF(predicate) if (1) {} else qDebug()
    86 #   define USE_QDEBUG_IF(predicate) if (1) {} else qDebug()