51
|
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: Implementation of fotaserver component
|
|
15 |
* This is part of fotaapplication.
|
|
16 |
*
|
|
17 |
*/
|
|
18 |
|
|
19 |
// FMSClientServer.h
|
|
20 |
//
|
|
21 |
//
|
|
22 |
#ifndef __FMS_CLIENTSERVER_H__
|
|
23 |
#define __FMS_CLIENTSERVER_H__
|
|
24 |
|
|
25 |
#include <e32std.h>
|
|
26 |
#include <e32base.h>
|
|
27 |
#include <f32file.h>
|
|
28 |
// server name
|
|
29 |
|
|
30 |
_LIT(KFMSServerName,"FMSServer");
|
|
31 |
|
|
32 |
//const TUid KFMSServerUid={0x200100C8}; //To be moved to fotaconst.h
|
|
33 |
|
|
34 |
enum TFmsIpcCommands
|
|
35 |
{
|
|
36 |
ENoInterrupt = 0, // Not to be used for IPC.
|
|
37 |
//For starting of the FMS monitoring during phone startup
|
|
38 |
EFotaStartUpPlugin = 1, //as continuation to upper enums
|
|
39 |
//For all download related interrupts
|
|
40 |
EDLUserInterrupt = 10,
|
|
41 |
EDLNetworkInterrupt,
|
|
42 |
EDLMemoryInterrupt,
|
|
43 |
EDLGeneralInterrupt,
|
|
44 |
|
|
45 |
//For all update related interrupts
|
|
46 |
EUpdMonitorbattery = 20,
|
|
47 |
EUpdPhoneCallActive,
|
|
48 |
EUpdMonitorPhoneCallEnd,
|
|
49 |
|
|
50 |
//For canceling any outstanding request
|
|
51 |
ECancelOutstandingRequest = 30,
|
|
52 |
};
|
|
53 |
#endif
|