Commit Graph

13 Commits

Author SHA1 Message Date
b0e7daeec8 ag_db_save_chart() now sets save_data->db_id after a successful INSERT 2014-08-03 10:57:05 +02:00
ab12922d8a Rework chart save procedure
* Fixed some design flows: AgDb should not know about the window
* AgChart now only creates an AgDbSave structure, saving is done through
  AgWindow
2014-08-02 01:37:11 +02:00
defdc75eb0 Add missing va_end() to ag_db_select() 2014-08-02 00:26:49 +02:00
c79e24c709 Annotated AgDb functions 2014-08-01 10:51:15 +02:00
2e34b71f69 Add function ag_db_save_identical()
It compares two AgDbSave structs and returns TRUE if they are equal or
identical.
2014-07-31 21:22:53 +02:00
bee9ae363f Fix ag_db_select()
Using parameter @err for error collection was a bad idea. Creating
local_err instead.
2014-07-31 01:00:16 +02:00
ea9e4a73a5 Add function ag_db_get_chart_data_by_id()
It loads one single chart from the database and fills an AgDbSave
struct with its data
2014-07-31 01:00:03 +02:00
bfa4cf8cca Add AgDbError error type 2014-07-31 00:59:53 +02:00
8a654e9c0f Add function ag_db_get_chart_list() 2014-07-31 00:49:55 +02:00
e8d9386916 Add function ag_db_save_chart() to add/update charts in the database 2014-07-22 00:11:08 +02:00
98d08893ef Add struct AgDbSave together with the function ag_db_save_data_free() 2014-07-22 00:11:08 +02:00
0fc41ba545 Add missing closing bracket in ag_db_non_select() 2014-07-21 23:46:09 +02:00
4d64e707bc Add AgDb class 2014-07-20 23:18:45 +02:00