ncdengine/provider/client/inc/ncdoperationfunctionids.h
changeset 0 ba25891c3a9e
equal deleted inserted replaced
-1:000000000000 0:ba25891c3a9e
       
     1 /*
       
     2 * Copyright (c) 2006 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:  
       
    15 *
       
    16 */
       
    17 	
       
    18 
       
    19 #ifndef NCDOPERATIONFUNCTIONIDS_H
       
    20 #define NCDOPERATIONFUNCTIONIDS_H
       
    21 
       
    22 /**
       
    23  * These are used to tell the server side operation what to do.
       
    24  */
       
    25 enum TNcdOperationFunctionId
       
    26     {
       
    27     ENCDOperationFunctionInit,          // Initialize the operation
       
    28     ENCDOperationFunctionStart,         // Start the operation
       
    29     ENCDOperationFunctionCancel,        // Cancel the operation
       
    30     ENCDOperationFunctionContinue,      // Continue operation
       
    31     ENCDOperationFunctionQueryResponse, // Message contains a query response.
       
    32     ENCDOperationFunctionPause,         // Pause the operation
       
    33     ENCDOperationFunctionResume,        // Resume a paused operation
       
    34     ENCDOperationFunctionGetData,       // Used to get data from the operation
       
    35     ENCDOperationFunctionSetData,       // Used to set data to the operation
       
    36     ENCDOperationFunctionRelease,       // Releases the operation object
       
    37     ENcdOperationFunctionOpenFile,      // Opens a file
       
    38     ENcdOperationFunctionDeleteFile,    // Deletes a file
       
    39     ENCDOperationFunctionReportStart,   // Set start state for server report
       
    40     ENCDOperationFunctionReportComplete // Complete server report
       
    41     };
       
    42 
       
    43 /**
       
    44  * These are used to notify the proxy of the contents of a completed message.
       
    45  */    
       
    46 enum TNcdOperationMessageCompletionId
       
    47     {
       
    48     ENCDOperationMessageCompletionInit,        // Message contains initialization info.
       
    49     ENCDOperationMessageCompletionProgress,    // Message contains progress info.
       
    50     ENCDOperationMessageCompletionQuery,       // Message contains a query.
       
    51     ENCDOperationMessageCompletionError,       // An error occured during execution.
       
    52     ENCDOperationMessageCompletionComplete,    // Operation complete.
       
    53     ENCDOperationMessageCompletionNodesUpdated, // Nodes have been updated
       
    54     ENCDOperationMessageCompletionPause,       // Operation paused
       
    55     ENCDOperationMessageCompletionResume,      // Operation resumed
       
    56     ENCDOperationMessageCompletionPaymentMethods, // Message contains payment methods.
       
    57     ENCDOperationMessageCompletionExpirationInfo // Message contains info of expired nodes.
       
    58     };
       
    59 	
       
    60 	
       
    61 #endif //  NCDOPERATIONFUNCTIONIDS_H