brandingserver/bsserver/bsserverdefs.h
changeset 0 e6b17d312c8b
child 21 cfd5c2994f10
equal deleted inserted replaced
-1:000000000000 0:e6b17d312c8b
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: server defintions.
       
    15 *
       
    16 */
       
    17 #ifndef __BSSERVERDEFS_H__
       
    18 #define __BSSERVERDEFS_H__
       
    19 #include <e32std.h>
       
    20 
       
    21 /**
       
    22  *
       
    23  *
       
    24  */
       
    25 const TInt KBSVersionMajor = 1;
       
    26 const TInt KBSVersionMinor = 1;
       
    27 const TInt KBSVersionBuild = 1;
       
    28 
       
    29 /**
       
    30  *
       
    31  *
       
    32  */
       
    33 _LIT( KBSServerExe, "bsserver.exe" );
       
    34 
       
    35 
       
    36 /**
       
    37  *
       
    38  *
       
    39  */
       
    40 _LIT( KBSServerName, "bs" );
       
    41 
       
    42 
       
    43 /**
       
    44  *
       
    45  *
       
    46  */
       
    47 const TUint KBSMsgSlotCount = 4;
       
    48 
       
    49 
       
    50 enum TTransactionType
       
    51 	{
       
    52 	EBSTxInstall = 1,
       
    53 	EBSTxUninstall,
       
    54 	EBSTxAppend,
       
    55 	EBSTxReplace,
       
    56 	EBSTxAccess
       
    57 	};
       
    58 
       
    59 /**
       
    60  *
       
    61  *
       
    62  */
       
    63 enum TBSMessages
       
    64     {
       
    65     // access API
       
    66     EBSInitInstall = 1,
       
    67     EBSInitUninstall,
       
    68     EBSInitAppend,
       
    69     EBSInitReplace,
       
    70     EBSInitAccess,
       
    71     EBSPrepareText,
       
    72     EBSGetText,
       
    73     EBSGetInt,
       
    74     EBSPrepareBuffer,
       
    75     EBSGetBuffer,
       
    76     EBSPrepareSeveral,
       
    77     EBSGetSeveral,
       
    78     EBSGetFile,
       
    79     EBSPrepareStructure,
       
    80     EBSGetStructure,
       
    81     
       
    82     EBSStartTransaction,
       
    83     EBSStopTransaction,
       
    84     EBSCancelTransaction,
       
    85     
       
    86     // installing
       
    87     EBSInstall,
       
    88     
       
    89     // replacing
       
    90     EBSReplace,
       
    91     
       
    92     // appending
       
    93     EBSAppend,
       
    94     
       
    95     // removing
       
    96     EBSRemoveBrand,
       
    97     
       
    98     EBSRemoveApplication,
       
    99     
       
   100     // observing
       
   101     EBSObserveBrand,
       
   102     EBSObserveGetNewVersion,
       
   103     EBSObserveGetChange,
       
   104     EBSObserveGetBackupState,
       
   105     EBSIsBrandUpdateRequired,
       
   106     EBSOperationLast
       
   107     };
       
   108 
       
   109 
       
   110 #endif  //__BSSERVERDEFS_H__
       
   111 
       
   112 // END OF FILE
       
   113 
       
   114 
       
   115 
       
   116 
       
   117