![]() |
![]() |
![]() |
Kipinä Internals Reference Manual | ![]() |
---|---|---|---|---|
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);
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;
void kp_log_store_attach_log (KPLogStore *store, KPTrainingLog *log, guint type);
store : |
|
log : |
|
type : |
void kp_log_store_get_date (KPLogStore *store, GtkTreeIter *iter, guint *d, guint *m, guint *y);
store : |
|
iter : |
|
d : |
|
m : |
|
y : |
void kp_log_store_remove (KPLogStore *store, GtkTreeIter *iter);
store : |
|
iter : |
void kp_log_store_remove_mark (KPLogStore *store, guint d, guint m, guint y, const gchar *mark);
store : |
|
d : |
|
m : |
|
y : |
|
mark : |
void kp_log_store_add_mark (KPLogStore *store, guint d, guint m, guint y, const gchar *mark);
store : |
|
d : |
|
m : |
|
y : |
|
mark : |
KPLogStoreRecordType kp_log_store_get_iter_type (KPLogStore *store, GtkTreeIter *iter);
store : |
|
iter : |
|
Returns : |