diff options
| author | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-02-11 10:44:40 +0100 |
|---|---|---|
| committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-02-11 10:44:40 +0100 |
| commit | 356da89a4e2e6e50ceade12f286d104fe1c17eae (patch) | |
| tree | 1fafbfebd44b937eb63906453a285ad5a4b1558a /lib/Plugins/SQLite3.h | |
| parent | 3192f468fa5e7f10c664cca671246f962d1d36d1 (diff) | |
| parent | 08ec10a5f6a2d6159e926cb075ad3eb4964ced50 (diff) | |
| download | abrt-356da89a4e2e6e50ceade12f286d104fe1c17eae.tar.gz abrt-356da89a4e2e6e50ceade12f286d104fe1c17eae.tar.xz abrt-356da89a4e2e6e50ceade12f286d104fe1c17eae.zip | |
Merge branch 'master' of git://git.fedorahosted.org/git/crash-catcher
Diffstat (limited to 'lib/Plugins/SQLite3.h')
| -rw-r--r-- | lib/Plugins/SQLite3.h | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/lib/Plugins/SQLite3.h b/lib/Plugins/SQLite3.h index 35365d2..31fd8ab 100644 --- a/lib/Plugins/SQLite3.h +++ b/lib/Plugins/SQLite3.h @@ -36,7 +36,7 @@ class CSQLite3 : public CDatabase void Create(); void Exec(const std::string& pCommand); void GetTable(const std::string& pCommand, vector_database_rows_t& pTable); - bool IsReported(const std::string& pUUID); + bool Exist(const std::string& pUUID, const std::string& pUID); public: CSQLite3(); @@ -46,24 +46,13 @@ class CSQLite3 : public CDatabase void DisConnect(); void Insert(const std::string& pUUID, - const std::string& pDebugDumpPath, - const std::string& pArch, - const std::string& pKernel, - const std::string& pExecutable, - const std::string& pPackage, const std::string& pUID, - const std::string& pTime); - - void InsertBackTrace(const std::string& pUUID, - const std::string& pBackTrace); - - void InsertTextData1(const std::string& pUUID, - const std::string& pData); - - void Delete(const std::string& pUUID); + const std::string& pDebugDumpPath); + void Delete(const std::string& pUUID, const std::string& pUID); + void SetReported(const std::string& pUUID, const std::string& pUID); const vector_database_rows_t GetUIDData(const std::string& pUID); - const database_row_t GetUUIDData(const std::string& pUUID); + const database_row_t GetUUIDData(const std::string& pUUID, const std::string& pUID); void Init() {} void DeInit() {} |
