use private where appropriate
This commit is contained in:
@@ -55,7 +55,7 @@ class Browser : public Screen< Menu<MPD::Item> >
|
||||
void ChangeBrowseMode();
|
||||
void UpdateItemList();
|
||||
|
||||
protected:
|
||||
private:
|
||||
void GetLocalDirectory(MPD::ItemList &);
|
||||
|
||||
static bool hasSupportedExtension(const std::string &);
|
||||
|
||||
@@ -46,7 +46,7 @@ class Clock : public Screen<Window>
|
||||
|
||||
virtual List *GetList() { return 0; }
|
||||
|
||||
protected:
|
||||
private:
|
||||
static void Prepare();
|
||||
static void Set(int, int);
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ class Help : public Screen<Scrollpad>
|
||||
|
||||
virtual List *GetList() { return 0; }
|
||||
|
||||
protected:
|
||||
private:
|
||||
std::string DisplayKeys(int *, int = 2);
|
||||
void GetKeybindings();
|
||||
};
|
||||
|
||||
@@ -45,7 +45,7 @@ class Info : public Screen<Scrollpad>
|
||||
void GetArtist();
|
||||
# endif // HAVE_CURL_CURL_H
|
||||
|
||||
protected:
|
||||
private:
|
||||
void PrepareSong(MPD::Song &);
|
||||
static const basic_buffer<my_char_t> &ShowTag(const std::string &);
|
||||
|
||||
|
||||
@@ -66,7 +66,7 @@ class Lyrics : public Screen<Scrollpad>
|
||||
static const char *GetPluginName(int offset);
|
||||
# endif // HAVE_CURL_CURL_H
|
||||
|
||||
protected:
|
||||
private:
|
||||
static void *Get(void *);
|
||||
|
||||
static std::string Filename;
|
||||
|
||||
@@ -64,7 +64,7 @@ class MediaLibrary : public Screen<Window>
|
||||
Menu< std::pair<std::string, SearchConstraints> > *Albums;
|
||||
Menu<MPD::Song> *Songs;
|
||||
|
||||
protected:
|
||||
private:
|
||||
void AddToPlaylist(bool);
|
||||
|
||||
static std::string SongToString(const MPD::Song &s, void *);
|
||||
|
||||
@@ -71,7 +71,7 @@ class Playlist : public Screen< Menu<MPD::Song> >
|
||||
static bool BlockUpdate;
|
||||
static bool BlockRefreshing;
|
||||
|
||||
protected:
|
||||
private:
|
||||
std::string TotalLength();
|
||||
|
||||
std::string itsBufferedStats;
|
||||
|
||||
@@ -54,7 +54,7 @@ class PlaylistEditor : public Screen<Window>
|
||||
Menu<std::string> *Playlists;
|
||||
Menu<MPD::Song> *Content;
|
||||
|
||||
protected:
|
||||
private:
|
||||
void AddToPlaylist(bool);
|
||||
|
||||
static size_t LeftColumnWidth;
|
||||
|
||||
@@ -68,7 +68,7 @@ class SearchEngine : public Screen< Menu< std::pair<Buffer *, MPD::Song *> > >
|
||||
static const char *NormalMode;
|
||||
static const char *StrictMode;
|
||||
|
||||
protected:
|
||||
private:
|
||||
void Prepare();
|
||||
void Search();
|
||||
|
||||
|
||||
@@ -50,7 +50,7 @@ class TinyTagEditor : public Screen< Menu<Buffer> >
|
||||
|
||||
bool SetEdited(MPD::Song *);
|
||||
|
||||
protected:
|
||||
private:
|
||||
bool GetTags();
|
||||
MPD::Song itsEdited;
|
||||
};
|
||||
@@ -98,7 +98,7 @@ class TagEditor : public Screen<Window>
|
||||
static void ReadTags(mpd_Song *);
|
||||
static bool WriteTags(MPD::Song &);
|
||||
|
||||
protected:
|
||||
private:
|
||||
static std::string CapitalizeFirstLetters(const std::string &);
|
||||
static void CapitalizeFirstLetters(MPD::Song &);
|
||||
static void LowerAllLetters(MPD::Song &);
|
||||
|
||||
Reference in New Issue
Block a user