summaryrefslogtreecommitdiff
path: root/libopie2/opiepim/private/opimoccurrence_p.h
blob: 3ccd97e52ad75d1cda24c56ddd87dc66fbbcf251 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// Private HEADER DON'T USE IT!!! WE MEAN IT!!!
//

#ifndef OPIE_PRIVATE_INTERNAL_OCCURRENCE_PIM_H
#define OPIE_PRIVATE_INTERNAL_OCCURRENCE_PIM_H

#include <qshared.h>


namespace Opie{

/*
 * The Data is shared between Occurrences
 * across multiple days.
 */
/**
 * @internal
 *
 * DO NOT USE. IT IS NOT PART OF THE API
 */
struct OPimOccurrence::Data : public QShared {
    Data() : uid( -1 ), backend( 0l ) {}

    QString summary;  // The Summary of this Occurrence
    QString location; // The location of this Occurrence
    QString note;     // The note of this Occurrence
    UID uid;          // The UID of the Record
    mutable Opie::Core::OSharedPointer<OPimRecord> record; // The Guarded Record
    OPimBase *backend;
};
}

#endif