use private where appropriate

This commit is contained in:
Andrzej Rybczak
2009-03-03 18:33:37 +01:00
parent e0a9a6cb9c
commit c3f2857dab
10 changed files with 11 additions and 11 deletions

View File

@@ -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 &);

View File

@@ -46,7 +46,7 @@ class Clock : public Screen<Window>
virtual List *GetList() { return 0; }
protected:
private:
static void Prepare();
static void Set(int, int);

View File

@@ -37,7 +37,7 @@ class Help : public Screen<Scrollpad>
virtual List *GetList() { return 0; }
protected:
private:
std::string DisplayKeys(int *, int = 2);
void GetKeybindings();
};

View File

@@ -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 &);

View File

@@ -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;

View File

@@ -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 *);

View File

@@ -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;

View File

@@ -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;

View File

@@ -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();

View File

@@ -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 &);