Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
VideoLAN
medialibrary
Commits
4f1c8fa9
Commit
4f1c8fa9
authored
May 11, 2014
by
Hugo Beauzée-Luyssen
Browse files
Rename CreateTable -> createTable
parent
710138f6
Changes
6
Hide whitespace changes
Inline
Side-by-side
src/Album.cpp
View file @
4f1c8fa9
...
...
@@ -54,7 +54,7 @@ const std::vector<IAlbumTrack*>&Album::tracks()
return
*
m_tracks
;
}
bool
Album
::
C
reateTable
(
sqlite3
*
dbConnection
)
bool
Album
::
c
reateTable
(
sqlite3
*
dbConnection
)
{
const
char
*
req
=
"CREATE TABLE IF NOT EXISTS Album("
"id_album INTEGER PRIMARY KEY AUTOINCREMENT,"
...
...
src/Album.h
View file @
4f1c8fa9
...
...
@@ -18,7 +18,7 @@ class Album : public IAlbum
virtual
time_t
lastSyncDate
();
virtual
const
std
::
vector
<
IAlbumTrack
*>&
tracks
();
static
bool
C
reateTable
(
sqlite3
*
dbConnection
);
static
bool
c
reateTable
(
sqlite3
*
dbConnection
);
static
Album
*
fetch
(
sqlite3
*
dbConnection
,
unsigned
int
albumTrackId
);
protected:
...
...
src/File.cpp
View file @
4f1c8fa9
...
...
@@ -80,7 +80,7 @@ int File::playCount()
return
m_playCount
;
}
bool
File
::
C
reateTable
(
sqlite3
*
connection
)
bool
File
::
c
reateTable
(
sqlite3
*
connection
)
{
const
char
*
req
=
"CREATE TABLE IF NOT EXISTS File("
"id_media INTEGER PRIMARY KEY AUTOINCREMENT,"
...
...
src/File.h
View file @
4f1c8fa9
...
...
@@ -30,7 +30,7 @@ class File : public IFile
virtual
std
::
vector
<
ILabel
*>
labels
();
virtual
int
playCount
();
static
bool
C
reateTable
(
sqlite3
*
connection
);
static
bool
c
reateTable
(
sqlite3
*
connection
);
private:
sqlite3
*
m_dbConnection
;
...
...
src/Show.cpp
View file @
4f1c8fa9
...
...
@@ -50,7 +50,7 @@ const std::string& Show::tvdbId()
return
m_tvdbId
;
}
bool
Show
::
C
reateTable
(
sqlite3
*
dbConnection
)
bool
Show
::
c
reateTable
(
sqlite3
*
dbConnection
)
{
const
char
*
req
=
"CREATE TABLE IF NOT EXISTS Show("
"id_show INTEGER PRIMARY KEY AUTOINCREMENT,"
...
...
src/Show.h
View file @
4f1c8fa9
...
...
@@ -18,7 +18,7 @@ class Show : public IShow
virtual
time_t
lastSyncDate
();
virtual
const
std
::
string
&
tvdbId
();
static
bool
C
reateTable
(
sqlite3
*
dbConnection
);
static
bool
c
reateTable
(
sqlite3
*
dbConnection
);
protected:
sqlite3
*
m_dbConnection
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment