remove silly comment after namespaces

This commit is contained in:
Andrzej Rybczak
2014-11-11 00:18:51 +01:00
parent 61d841d29a
commit 25ac152b0d
26 changed files with 33 additions and 33 deletions

View File

@@ -84,7 +84,7 @@ void listsChangeFinisher();
} }
namespace Actions {// namespace Actions {
bool OriginalStatusbarVisibility; bool OriginalStatusbarVisibility;
bool ExitMainLoop = false; bool ExitMainLoop = false;
@@ -2467,7 +2467,7 @@ void ShowServerInfo::run()
} }
namespace {// namespace {
void populateActions() void populateActions()
{ {

View File

@@ -30,7 +30,7 @@ BindingsConfiguration Bindings;
Key Key::noOp = Key(ERR, NCurses); Key Key::noOp = Key(ERR, NCurses);
namespace {// namespace {
Key stringToSpecialKey(const std::string &s) Key stringToSpecialKey(const std::string &s)
{ {

View File

@@ -22,7 +22,7 @@
#include "charset.h" #include "charset.h"
#include "settings.h" #include "settings.h"
namespace Charset {// namespace Charset {
std::locale internalLocale() std::locale internalLocale()
{ {

View File

@@ -24,7 +24,7 @@
#include <locale> #include <locale>
#include <string> #include <string>
namespace Charset {// namespace Charset {
std::locale internalLocale(); std::locale internalLocale();

View File

@@ -33,7 +33,7 @@
using Global::myScreen; using Global::myScreen;
namespace {// namespace {
const wchar_t *toColumnName(char c) const wchar_t *toColumnName(char c)
{ {

View File

@@ -27,7 +27,7 @@
#include "mutable_song.h" #include "mutable_song.h"
#include "search_engine.h" #include "search_engine.h"
namespace Display {// namespace Display {
std::string Columns(size_t); std::string Columns(size_t);

View File

@@ -20,7 +20,7 @@
#include "global.h" #include "global.h"
namespace Global {// namespace Global {
BaseScreen *myScreen; BaseScreen *myScreen;
BaseScreen *myLockedScreen; BaseScreen *myLockedScreen;

View File

@@ -25,7 +25,7 @@
#include "mpdpp.h" #include "mpdpp.h"
#include "screen.h" #include "screen.h"
namespace Global {// namespace Global {
// currently active screen (displayed in main window) // currently active screen (displayed in main window)
extern BaseScreen *myScreen; extern BaseScreen *myScreen;

View File

@@ -21,7 +21,7 @@
#include "global.h" #include "global.h"
#include "macro_utilities.h" #include "macro_utilities.h"
namespace Actions {// namespace Actions {
void PushCharacters::run() void PushCharacters::run()
{ {

View File

@@ -25,7 +25,7 @@
#include "actions.h" #include "actions.h"
#include "screen_type.h" #include "screen_type.h"
namespace Actions {// namespace Actions {
struct PushCharacters : public BaseAction struct PushCharacters : public BaseAction
{ {

View File

@@ -1013,7 +1013,7 @@ void MediaLibrary::AddToPlaylist(bool add_n_play)
} }
} }
namespace {// namespace {
std::string AlbumToString(const AlbumEntry &ae) std::string AlbumToString(const AlbumEntry &ae)
{ {

View File

@@ -22,7 +22,7 @@
#include <boost/algorithm/string/split.hpp> #include <boost/algorithm/string/split.hpp>
#include "mutable_song.h" #include "mutable_song.h"
namespace MPD {// namespace MPD {
std::string MutableSong::getArtist(unsigned idx) const std::string MutableSong::getArtist(unsigned idx) const
{ {

View File

@@ -25,7 +25,7 @@
#include "config.h" #include "config.h"
#include "song.h" #include "song.h"
namespace MPD {// namespace MPD {
struct MutableSong : public Song struct MutableSong : public Song
{ {

View File

@@ -303,7 +303,7 @@ void Playlist::unregisterSong(const MPD::Song &s)
--it->second; --it->second;
} }
namespace {// namespace {
std::string songToString(const MPD::Song &s) std::string songToString(const MPD::Song &s)
{ {

View File

@@ -24,7 +24,7 @@
#include "scrollpad.h" #include "scrollpad.h"
namespace {// namespace {
template <typename PropT> template <typename PropT>
bool regexSearch(NC::Buffer &buf, PropT begin, const std::string &ws, PropT end, size_t id, boost::regex::flag_type flags) bool regexSearch(NC::Buffer &buf, PropT begin, const std::string &ws, PropT end, size_t id, boost::regex::flag_type flags)
@@ -48,7 +48,7 @@ bool regexSearch(NC::Buffer &buf, PropT begin, const std::string &ws, PropT end,
} }
namespace NC {// namespace NC {
Scrollpad::Scrollpad(size_t startx, Scrollpad::Scrollpad(size_t startx,
size_t starty, size_t starty,

View File

@@ -25,7 +25,7 @@
#include "window.h" #include "window.h"
#include "strbuffer.h" #include "strbuffer.h"
namespace NC {// namespace NC {
/// Scrollpad is specialized window that holds large portions of text and /// Scrollpad is specialized window that holds large portions of text and
/// supports scrolling if the amount of it is bigger than the window area. /// supports scrolling if the amount of it is bigger than the window area.

View File

@@ -39,7 +39,7 @@ using Global::MainStartY;
SearchEngine *mySearcher; SearchEngine *mySearcher;
namespace {// namespace {
/*const std::array<const std::string, 11> constraintsNames = {{ /*const std::array<const std::string, 11> constraintsNames = {{
"Any", "Any",
@@ -61,7 +61,7 @@ const std::array<const char *, 3> searchModes = {{
"Match only if both values are the same" "Match only if both values are the same"
}}; }};
namespace pos {// namespace pos {
const size_t searchIn = constraintsNames.size()-1+1+1; // separated const size_t searchIn = constraintsNames.size()-1+1+1; // separated
const size_t searchMode = searchIn+1; const size_t searchMode = searchIn+1;
const size_t search = searchMode+1+1; // separated const size_t search = searchMode+1+1; // separated
@@ -581,7 +581,7 @@ void SearchEngine::Search()
} }
} }
namespace {// namespace {
std::string SEItemToString(const SEItem &ei) std::string SEItemToString(const SEItem &ei)
{ {

View File

@@ -35,7 +35,7 @@
SelectedItemsAdder *mySelectedItemsAdder; SelectedItemsAdder *mySelectedItemsAdder;
namespace {// namespace {
void DisplayComponent(SelectedItemsAdder::Component &menu) void DisplayComponent(SelectedItemsAdder::Component &menu)
{ {

View File

@@ -29,7 +29,7 @@
#include <mpd/client.h> #include <mpd/client.h>
namespace MPD {// namespace MPD {
struct Song struct Song
{ {

View File

@@ -24,7 +24,7 @@
#include "interfaces.h" #include "interfaces.h"
#include "mpdpp.h" #include "mpdpp.h"
namespace Status {// namespace Status {
void handleClientError(MPD::ClientError &e); void handleClientError(MPD::ClientError &e);
void handleServerError(MPD::ServerError &e); void handleServerError(MPD::ServerError &e);
@@ -53,7 +53,7 @@ int volume();
} }
namespace Changes {// namespace Changes {
void playlist(unsigned previous_version); void playlist(unsigned previous_version);
void storedPlaylists(); void storedPlaylists();

View File

@@ -27,7 +27,7 @@
#include "interfaces.h" #include "interfaces.h"
#include "window.h" #include "window.h"
namespace Progressbar {// namespace Progressbar {
struct ScopedLock struct ScopedLock
{ {
@@ -61,7 +61,7 @@ void tryRedraw();
/// @return window object that represents statusbar /// @return window object that represents statusbar
NC::Window &put(); NC::Window &put();
namespace Helpers {// namespace Helpers {
/// called when statusbar window detects incoming idle notification /// called when statusbar window detects incoming idle notification
void mpd(); void mpd();

View File

@@ -25,7 +25,7 @@
#include <set> #include <set>
#include "window.h" #include "window.h"
namespace NC {// namespace NC {
/// Buffer template class that stores text /// Buffer template class that stores text
/// along with its properties (colors/formatting). /// along with its properties (colors/formatting).

View File

@@ -47,7 +47,7 @@ using Global::MainStartY;
TagEditor *myTagEditor; TagEditor *myTagEditor;
namespace {// namespace {
size_t LeftColumnWidth; size_t LeftColumnWidth;
size_t LeftColumnStartX; size_t LeftColumnStartX;
@@ -950,7 +950,7 @@ void TagEditor::LocateSong(const MPD::Song &s)
} }
} }
namespace {// namespace {
bool isAnyModified(const NC::Menu<MPD::MutableSong> &m) bool isAnyModified(const NC::Menu<MPD::MutableSong> &m)
{ {

View File

@@ -215,7 +215,7 @@ Tags::ReplayGainInfo getReplayGain(TagLib::Ogg::XiphComment *tag)
} }
namespace Tags {// namespace Tags {
void setAttribute(mpd_song *s, const char *name, const std::string &value) void setAttribute(mpd_song *s, const char *name, const std::string &value)
{ {

View File

@@ -28,7 +28,7 @@
#include <tfile.h> #include <tfile.h>
#include "mutable_song.h" #include "mutable_song.h"
namespace Tags {// namespace Tags {
struct ReplayGainInfo struct ReplayGainInfo
{ {

View File

@@ -22,7 +22,7 @@
#include "comparators.h" #include "comparators.h"
#include "utility/string.h" #include "utility/string.h"
namespace {// namespace {
bool hasTheWord(const std::string &s) bool hasTheWord(const std::string &s)
{ {