|
1 /* |
|
2 * Copyright (c) 2002, 2003 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 * scheduled sending of MMS messages |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 #ifndef MMSSCHEDULESEND_H |
|
22 #define MMSSCHEDULESEND_H |
|
23 |
|
24 // INCLUDES |
|
25 #include <msvschedulesend.h> |
|
26 |
|
27 // CONSTANTS |
|
28 |
|
29 // MACROS |
|
30 |
|
31 // DATA TYPES |
|
32 |
|
33 // FUNCTION PROTOTYPES |
|
34 |
|
35 // FORWARD DECLARATIONS |
|
36 |
|
37 // CLASS DECLARATION |
|
38 |
|
39 /** |
|
40 * Scheduled sending and receiving. |
|
41 */ |
|
42 class CMmsScheduleSend :public CMsvScheduleSend |
|
43 { |
|
44 public: // Constructors and destructor |
|
45 |
|
46 /** |
|
47 * Two-phased constructor. |
|
48 * Note: Base class ConstructL is used |
|
49 * @param aServerEntry Initial Entry |
|
50 */ |
|
51 static CMmsScheduleSend* NewL(CMsvServerEntry& aServerEntry); |
|
52 |
|
53 /** |
|
54 * Destructor. |
|
55 */ |
|
56 virtual ~CMmsScheduleSend(); |
|
57 |
|
58 public: // New functions |
|
59 |
|
60 /** |
|
61 * LoadSettingsL loads the schedule settings |
|
62 */ |
|
63 void LoadSettingsL( TInt aCommand ); |
|
64 |
|
65 public: // Functions from base classes |
|
66 |
|
67 /** |
|
68 * From CMsvScheduleSend get scheduled message. |
|
69 * @param aId Id of a message |
|
70 * @return pointer to restored message data |
|
71 */ |
|
72 CMsvScheduledEntry* GetMessageL(const TMsvId aId) const; |
|
73 |
|
74 protected: // New functions |
|
75 |
|
76 protected: // Functions from base classes |
|
77 |
|
78 /** |
|
79 * C++ constructor. |
|
80 * @param aServerEntry Initial Entry |
|
81 */ |
|
82 CMmsScheduleSend( CMsvServerEntry& aServerEntry ); |
|
83 |
|
84 |
|
85 private: |
|
86 |
|
87 // By default, prohibit copy constructor |
|
88 CMmsScheduleSend( const CMmsScheduleSend& ); |
|
89 // Prohibit assignment operator |
|
90 CMmsScheduleSend& operator= ( const CMmsScheduleSend& ); |
|
91 |
|
92 public: // Data |
|
93 |
|
94 protected: // Data |
|
95 |
|
96 private: // Data |
|
97 |
|
98 public: // Friend classes |
|
99 protected: // Friend classes |
|
100 private: // Friend classes |
|
101 |
|
102 }; |
|
103 |
|
104 #endif // MMSSCHEDULESEND_H |
|
105 |
|
106 // End of File |