Diffstat (limited to 'libopie2/opiepim/private/opimoccurrence_p.h') (more/less context) (show whitespace changes)
-rw-r--r-- | libopie2/opiepim/private/opimoccurrence_p.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/libopie2/opiepim/private/opimoccurrence_p.h b/libopie2/opiepim/private/opimoccurrence_p.h new file mode 100644 index 0000000..3ccd97e --- a/dev/null +++ b/libopie2/opiepim/private/opimoccurrence_p.h | |||
@@ -0,0 +1,33 @@ | |||
1 | // Private HEADER DON'T USE IT!!! WE MEAN IT!!! | ||
2 | // | ||
3 | |||
4 | #ifndef OPIE_PRIVATE_INTERNAL_OCCURRENCE_PIM_H | ||
5 | #define OPIE_PRIVATE_INTERNAL_OCCURRENCE_PIM_H | ||
6 | |||
7 | #include <qshared.h> | ||
8 | |||
9 | |||
10 | namespace Opie{ | ||
11 | |||
12 | /* | ||
13 | * The Data is shared between Occurrences | ||
14 | * across multiple days. | ||
15 | */ | ||
16 | /** | ||
17 | * @internal | ||
18 | * | ||
19 | * DO NOT USE. IT IS NOT PART OF THE API | ||
20 | */ | ||
21 | struct OPimOccurrence::Data : public QShared { | ||
22 | Data() : uid( -1 ), backend( 0l ) {} | ||
23 | |||
24 | QString summary; // The Summary of this Occurrence | ||
25 | QString location; // The location of this Occurrence | ||
26 | QString note; // The note of this Occurrence | ||
27 | UID uid; // The UID of the Record | ||
28 | mutable Opie::Core::OSharedPointer<OPimRecord> record; // The Guarded Record | ||
29 | OPimBase *backend; | ||
30 | }; | ||
31 | } | ||
32 | |||
33 | #endif | ||