Commit 4f1c8fa9 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

Rename CreateTable -> createTable

parent 710138f6
...@@ -54,7 +54,7 @@ const std::vector<IAlbumTrack*>&Album::tracks() ...@@ -54,7 +54,7 @@ const std::vector<IAlbumTrack*>&Album::tracks()
return *m_tracks; return *m_tracks;
} }
bool Album::CreateTable(sqlite3* dbConnection) bool Album::createTable(sqlite3* dbConnection)
{ {
const char* req = "CREATE TABLE IF NOT EXISTS Album(" const char* req = "CREATE TABLE IF NOT EXISTS Album("
"id_album INTEGER PRIMARY KEY AUTOINCREMENT," "id_album INTEGER PRIMARY KEY AUTOINCREMENT,"
......
...@@ -18,7 +18,7 @@ class Album : public IAlbum ...@@ -18,7 +18,7 @@ class Album : public IAlbum
virtual time_t lastSyncDate(); virtual time_t lastSyncDate();
virtual const std::vector<IAlbumTrack*>& tracks(); virtual const std::vector<IAlbumTrack*>& tracks();
static bool CreateTable( sqlite3* dbConnection ); static bool createTable( sqlite3* dbConnection );
static Album* fetch( sqlite3* dbConnection, unsigned int albumTrackId ); static Album* fetch( sqlite3* dbConnection, unsigned int albumTrackId );
protected: protected:
......
...@@ -80,7 +80,7 @@ int File::playCount() ...@@ -80,7 +80,7 @@ int File::playCount()
return m_playCount; return m_playCount;
} }
bool File::CreateTable(sqlite3* connection) bool File::createTable(sqlite3* connection)
{ {
const char* req = "CREATE TABLE IF NOT EXISTS File(" const char* req = "CREATE TABLE IF NOT EXISTS File("
"id_media INTEGER PRIMARY KEY AUTOINCREMENT," "id_media INTEGER PRIMARY KEY AUTOINCREMENT,"
......
...@@ -30,7 +30,7 @@ class File : public IFile ...@@ -30,7 +30,7 @@ class File : public IFile
virtual std::vector<ILabel*> labels(); virtual std::vector<ILabel*> labels();
virtual int playCount(); virtual int playCount();
static bool CreateTable( sqlite3* connection ); static bool createTable( sqlite3* connection );
private: private:
sqlite3* m_dbConnection; sqlite3* m_dbConnection;
......
...@@ -50,7 +50,7 @@ const std::string& Show::tvdbId() ...@@ -50,7 +50,7 @@ const std::string& Show::tvdbId()
return m_tvdbId; return m_tvdbId;
} }
bool Show::CreateTable(sqlite3* dbConnection) bool Show::createTable(sqlite3* dbConnection)
{ {
const char* req = "CREATE TABLE IF NOT EXISTS Show(" const char* req = "CREATE TABLE IF NOT EXISTS Show("
"id_show INTEGER PRIMARY KEY AUTOINCREMENT," "id_show INTEGER PRIMARY KEY AUTOINCREMENT,"
......
...@@ -18,7 +18,7 @@ class Show : public IShow ...@@ -18,7 +18,7 @@ class Show : public IShow
virtual time_t lastSyncDate(); virtual time_t lastSyncDate();
virtual const std::string& tvdbId(); virtual const std::string& tvdbId();
static bool CreateTable( sqlite3* dbConnection ); static bool createTable( sqlite3* dbConnection );
protected: protected:
sqlite3* m_dbConnection; sqlite3* m_dbConnection;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment