Synopsis
enum KPLogStoreRecordType;
KPLogStore* kp_log_store_new (void);
void kp_log_store_attach_log (KPLogStore *store,
KPTrainingLog *log,
guint type);
void kp_log_store_get_date (KPLogStore *store,
GtkTreeIter *iter,
guint *d,
guint *m,
guint *y);
void kp_log_store_remove (KPLogStore *store,
GtkTreeIter *iter);
void kp_log_store_remove_mark (KPLogStore *store,
guint d,
guint m,
guint y,
const gchar *mark);
void kp_log_store_add_mark (KPLogStore *store,
guint d,
guint m,
guint y,
const gchar *mark);
KPLogStoreRecordType kp_log_store_get_iter_type
(KPLogStore *store,
GtkTreeIter *iter);
KPLogStoreRecord* kp_log_store_get_record (KPLogStore *store,
GtkTreeIter *iter);
Details
enum KPLogStoreRecordType
typedef enum
{
KP_LOG_STORE_REC_ROOT,
KP_LOG_STORE_REC_YEAR,
KP_LOG_STORE_REC_MONTH,
KP_LOG_STORE_REC_DAY,
KP_LOG_STORE_REC_ENTRY,
KP_LOG_STORE_REC_INVALID
} KPLogStoreRecordType;
kp_log_store_new ()
KPLogStore* kp_log_store_new (void);
kp_log_store_attach_log ()
void kp_log_store_attach_log (KPLogStore *store,
KPTrainingLog *log,
guint type);
kp_log_store_get_date ()
void kp_log_store_get_date (KPLogStore *store,
GtkTreeIter *iter,
guint *d,
guint *m,
guint *y);
store : |
|
iter : |
|
d : |
|
m : |
|
y : |
|
kp_log_store_remove ()
void kp_log_store_remove (KPLogStore *store,
GtkTreeIter *iter);
kp_log_store_remove_mark ()
void kp_log_store_remove_mark (KPLogStore *store,
guint d,
guint m,
guint y,
const gchar *mark);
store : |
|
d : |
|
m : |
|
y : |
|
mark : |
|
kp_log_store_add_mark ()
void kp_log_store_add_mark (KPLogStore *store,
guint d,
guint m,
guint y,
const gchar *mark);
store : |
|
d : |
|
m : |
|
y : |
|
mark : |
|
kp_log_store_get_iter_type ()
KPLogStoreRecordType kp_log_store_get_iter_type
(KPLogStore *store,
GtkTreeIter *iter);
kp_log_store_get_record ()
KPLogStoreRecord* kp_log_store_get_record (KPLogStore *store,
GtkTreeIter *iter);