Diffstat (limited to 'libopie2/opiepim/core/opimaccesstemplate.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | libopie2/opiepim/core/opimaccesstemplate.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libopie2/opiepim/core/opimaccesstemplate.h b/libopie2/opiepim/core/opimaccesstemplate.h index 5826cbc..f1bcc44 100644 --- a/libopie2/opiepim/core/opimaccesstemplate.h +++ b/libopie2/opiepim/core/opimaccesstemplate.h | |||
@@ -24,49 +24,49 @@ | |||
24 | -- :-=` this library; see the file COPYING.LIB. | 24 | -- :-=` this library; see the file COPYING.LIB. |
25 | If not, write to the Free Software Foundation, | 25 | If not, write to the Free Software Foundation, |
26 | Inc., 59 Temple Place - Suite 330, | 26 | Inc., 59 Temple Place - Suite 330, |
27 | Boston, MA 02111-1307, USA. | 27 | Boston, MA 02111-1307, USA. |
28 | */ | 28 | */ |
29 | #ifndef OPIE_PIM_ACCESS_TEMPLATE_H | 29 | #ifndef OPIE_PIM_ACCESS_TEMPLATE_H |
30 | #define OPIE_PIM_ACCESS_TEMPLATE_H | 30 | #define OPIE_PIM_ACCESS_TEMPLATE_H |
31 | 31 | ||
32 | #include <qarray.h> | 32 | #include <qarray.h> |
33 | 33 | ||
34 | #include <opie2/opimrecord.h> | 34 | #include <opie2/opimrecord.h> |
35 | #include <opie2/opimaccessbackend.h> | 35 | #include <opie2/opimaccessbackend.h> |
36 | #include <opie2/orecordlist.h> | 36 | #include <opie2/opimrecordlist.h> |
37 | 37 | ||
38 | #include <opie2/opimcache.h> | 38 | #include <opie2/opimcache.h> |
39 | #include <opie2/otemplatebase.h> | 39 | #include <opie2/opimtemplatebase.h> |
40 | 40 | ||
41 | namespace Opie { | 41 | namespace Opie { |
42 | 42 | ||
43 | class OPimAccessTemplatePrivate; | 43 | class OPimAccessTemplatePrivate; |
44 | /** | 44 | /** |
45 | * Thats the frontend to our OPIE PIM | 45 | * Thats the frontend to our OPIE PIM |
46 | * Library. Either you want to use it's | 46 | * Library. Either you want to use it's |
47 | * interface or you want to implement | 47 | * interface or you want to implement |
48 | * your own Access lib | 48 | * your own Access lib |
49 | * Just create a OPimRecord and inherit from | 49 | * Just create a OPimRecord and inherit from |
50 | * the plugins | 50 | * the plugins |
51 | */ | 51 | */ |
52 | 52 | ||
53 | template <class T = OPimRecord > | 53 | template <class T = OPimRecord > |
54 | class OPimAccessTemplate : public OTemplateBase<T> { | 54 | class OPimAccessTemplate : public OTemplateBase<T> { |
55 | public: | 55 | public: |
56 | enum Access { | 56 | enum Access { |
57 | Random = 0, | 57 | Random = 0, |
58 | SortedAccess | 58 | SortedAccess |
59 | }; | 59 | }; |
60 | typedef ORecordList<T> List; | 60 | typedef OPimRecordList<T> List; |
61 | typedef OPimAccessBackend<T> BackEnd; | 61 | typedef OPimAccessBackend<T> BackEnd; |
62 | typedef OPimCache<T> Cache; | 62 | typedef OPimCache<T> Cache; |
63 | 63 | ||
64 | /** | 64 | /** |
65 | * c'tor BackEnd | 65 | * c'tor BackEnd |
66 | * enum Access a small hint on how to handle the backend | 66 | * enum Access a small hint on how to handle the backend |
67 | */ | 67 | */ |
68 | OPimAccessTemplate( BackEnd* end); | 68 | OPimAccessTemplate( BackEnd* end); |
69 | 69 | ||
70 | virtual ~OPimAccessTemplate(); | 70 | virtual ~OPimAccessTemplate(); |
71 | 71 | ||
72 | /** | 72 | /** |