hti/PC_Tools/HTIGateway/ServicePlugins/HtiSystem/HtiSystem.h
branchRCL_3
changeset 59 8ad140f3dd41
parent 0 a03f92240627
equal deleted inserted replaced
49:7fdc9a71d314 59:8ad140f3dd41
       
     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:
       
    15 */
       
    16 // HTI service functions
       
    17 //gsoap ns1 service name: HtiSystem
       
    18 //gsoap ns1 service namespace: urn:hti
       
    19 //gsoap ns1 service style: rpc
       
    20 //gsoap ns1 service encoding: literal
       
    21 //gsoap ns1 service location: http://localhost:2000
       
    22 
       
    23 typedef char* xsd__string;
       
    24 typedef long xsd__int;
       
    25 typedef unsigned int xsd__unsignedInt;
       
    26 
       
    27 struct ns1__HtiService
       
    28 {
       
    29 	xsd__string serviceName;
       
    30 	xsd__int serviceUid;
       
    31 };
       
    32 
       
    33 struct ArrayOfHtiService
       
    34 {
       
    35 	struct ns1__HtiService *__ptrHtiService;
       
    36 	int __size;
       
    37 };
       
    38 
       
    39 enum ns1__restoreMode { ModeNormal, ModeDeep };
       
    40 
       
    41 //gsoap ns1 service method-action: authentication "HtiSystem"
       
    42 int ns1__authentication(
       
    43 	xsd__string securityToken,
       
    44 	xsd__string* result
       
    45 );
       
    46 //gsoap ns1 service method-action: getVersion "HtiSystem"
       
    47 int ns1__getVersion(
       
    48 	void*_ ,
       
    49 	xsd__string* result
       
    50 );
       
    51 //gsoap ns1 service method-action: stop "HtiSystem"
       
    52 int ns1__stop(
       
    53 	void*_ ,
       
    54 	struct ns1__stopResponse{} *out
       
    55 );
       
    56 //gsoap ns1 service method-action: reset "HtiSystem"
       
    57 int ns1__reset(
       
    58 	void*_ ,
       
    59 	struct ns1__resetResponse{} *out
       
    60 );
       
    61 //gsoap ns1 service method-action: reboot "HtiSystem"
       
    62 int ns1__reboot(
       
    63 	void*_ ,
       
    64 	struct ns1__rebootResponse{} *out
       
    65 );
       
    66 //gsoap ns1 service method-action: listServices "HtiSystem"
       
    67 int ns1__listServices(
       
    68 	void*_ ,
       
    69 	struct ArrayOfHtiService& array
       
    70 );
       
    71 //gsoap ns1 service method-action: restoreFactorySettings "HtiSystem"
       
    72 int ns1__restoreFactorySettings(
       
    73 	enum ns1__restoreMode mode,
       
    74 	struct ns1__restoreFactorySettingsResponse{} *out
       
    75 );
       
    76 //gsoap ns1 service method-action: instanceID "HtiSystem"
       
    77 int ns1__instanceID(
       
    78 	void*_ ,
       
    79 	xsd__unsignedInt &instanceID
       
    80 );
       
    81 //gsoap ns1 service method-action: showConsole "HtiSystem"
       
    82 int ns1__showConsole(
       
    83 	void*_ ,
       
    84 	struct ns1__showConsoleResponse{} *out
       
    85 );
       
    86 //gsoap ns1 service method-action: hideConsole "HtiSystem"
       
    87 int ns1__hideConsole(
       
    88 	void*_ ,
       
    89 	struct ns1__hideConsoleResponse{} *out
       
    90 );
       
    91 //gsoap ns1 service method-action: debugPrint "HtiSystem"
       
    92 int ns1__debugPrint(
       
    93 	xsd__string debugMessage,
       
    94 	struct ns1__debugPrintResponse{} *out
       
    95 );