brandingserver/BSServer/bsserverdefs.h
changeset 31 9dbc70490d9a
equal deleted inserted replaced
30:1fa9b890f29c 31:9dbc70490d9a
       
     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 the License "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 
       
    18 #ifndef __BSSERVERDEFS_H__
       
    19 #define __BSSERVERDEFS_H__
       
    20 #include <e32std.h>
       
    21 
       
    22 /**
       
    23  *
       
    24  *
       
    25  */
       
    26 const TInt KBSVersionMajor = 1;
       
    27 const TInt KBSVersionMinor = 1;
       
    28 const TInt KBSVersionBuild = 1;
       
    29 
       
    30 /**
       
    31  *
       
    32  *
       
    33  */
       
    34 _LIT( KBSServerExe, "bsserver.exe" );
       
    35 
       
    36 
       
    37 /**
       
    38  *
       
    39  *
       
    40  */
       
    41 _LIT( KBSServerName, "bs" );
       
    42 
       
    43 
       
    44 /**
       
    45  *
       
    46  *
       
    47  */
       
    48 const TUint KBSMsgSlotCount = 4;
       
    49 
       
    50 
       
    51 enum TTransactionType
       
    52 	{
       
    53 	EBSTxInstall = 1,
       
    54 	EBSTxUninstall,
       
    55 	EBSTxAppend,
       
    56 	EBSTxReplace,
       
    57 	EBSTxAccess
       
    58 	};
       
    59 
       
    60 /**
       
    61  *
       
    62  *
       
    63  */
       
    64 enum TBSMessages
       
    65     {
       
    66     // access API
       
    67     EBSInitInstall = 1,
       
    68     EBSInitUninstall,
       
    69     EBSInitAppend,
       
    70     EBSInitReplace,
       
    71     EBSInitAccess,
       
    72     EBSPrepareText,
       
    73     EBSGetText,
       
    74     EBSGetInt,
       
    75     EBSPrepareBuffer,
       
    76     EBSGetBuffer,
       
    77     EBSPrepareSeveral,
       
    78     EBSGetSeveral,
       
    79     EBSGetFile,
       
    80     EBSPrepareStructure,
       
    81     EBSGetStructure,
       
    82     
       
    83     EBSStartTransaction,
       
    84     EBSStopTransaction,
       
    85     EBSCancelTransaction,
       
    86     
       
    87     // installing
       
    88     EBSInstall,
       
    89     
       
    90     // replacing
       
    91     EBSReplace,
       
    92     
       
    93     // appending
       
    94     EBSAppend,
       
    95     
       
    96     // removing
       
    97     EBSRemoveBrand,
       
    98     
       
    99     EBSRemoveApplication,
       
   100     
       
   101     // observing
       
   102     EBSObserveBrand,
       
   103     EBSObserveGetNewVersion,
       
   104     EBSObserveGetChange,
       
   105     EBSObserveGetBackupState,
       
   106     EBSIsBrandUpdateRequired,
       
   107     EBSOperationLast
       
   108     };
       
   109 
       
   110 
       
   111 #endif  //__BSSERVERDEFS_H__
       
   112 
       
   113 // END OF FILE
       
   114 
       
   115 
       
   116 
       
   117 
       
   118