|
1 /* |
|
2 * Copyright (c) 2008 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: ToDo adapter interface, provides access to a ToDo list. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef MPIMTODOADAPTERMANAGER_H |
|
20 #define MPIMTODOADAPTERMANAGER_H |
|
21 |
|
22 // FORWARD DECLARATIONS |
|
23 class MPIMToDoListAdapter; |
|
24 class MPIMAdapterManager; |
|
25 |
|
26 // CLASS DECLARATION |
|
27 |
|
28 /** |
|
29 * Provides access to a single todo list. See also \ref MPIMAdapterManager |
|
30 * class description. |
|
31 */ |
|
32 class MPIMToDoAdapterManager |
|
33 { |
|
34 public: |
|
35 // Destructor |
|
36 |
|
37 /** |
|
38 * Destructor. |
|
39 */ |
|
40 virtual ~MPIMToDoAdapterManager() |
|
41 { |
|
42 } |
|
43 |
|
44 public: |
|
45 // New functions |
|
46 |
|
47 /** |
|
48 * Provides access to the \ref MPIMAdapterManager representation of |
|
49 * this object. |
|
50 * |
|
51 * @return The \ref MPIMAdapterManager representation of this object. |
|
52 */ |
|
53 virtual MPIMAdapterManager* GetAdapterManager() = 0; |
|
54 |
|
55 protected: |
|
56 // Non-public operations |
|
57 |
|
58 // Allow derivation with protected default constructor. |
|
59 MPIMToDoAdapterManager() |
|
60 { |
|
61 } |
|
62 |
|
63 private: |
|
64 // Prohibited operations |
|
65 |
|
66 // Prohibit copy constructor. |
|
67 MPIMToDoAdapterManager(const MPIMToDoAdapterManager&) |
|
68 { |
|
69 } |
|
70 |
|
71 // Prohibit assigment operator. |
|
72 MPIMToDoAdapterManager& operator=(const MPIMToDoAdapterManager&) |
|
73 { |
|
74 return *this; |
|
75 } |
|
76 |
|
77 }; |
|
78 |
|
79 #endif // MPIMTODOADAPTERMANAGER_H |
|
80 // End of File |
|
81 |