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 ExitMainLoop = false;
@@ -2467,7 +2467,7 @@ void ShowServerInfo::run()
}
namespace {//
namespace {
void populateActions()
{

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -25,7 +25,7 @@
#include "actions.h"
#include "screen_type.h"
namespace Actions {//
namespace Actions {
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)
{

View File

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

View File

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

View File

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

View File

@@ -24,7 +24,7 @@
#include "scrollpad.h"
namespace {//
namespace {
template <typename PropT>
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,
size_t starty,

View File

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

View File

@@ -39,7 +39,7 @@ using Global::MainStartY;
SearchEngine *mySearcher;
namespace {//
namespace {
/*const std::array<const std::string, 11> constraintsNames = {{
"Any",
@@ -61,7 +61,7 @@ const std::array<const char *, 3> searchModes = {{
"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 searchMode = searchIn+1;
const size_t search = searchMode+1+1; // separated
@@ -581,7 +581,7 @@ void SearchEngine::Search()
}
}
namespace {//
namespace {
std::string SEItemToString(const SEItem &ei)
{

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -47,7 +47,7 @@ using Global::MainStartY;
TagEditor *myTagEditor;
namespace {//
namespace {
size_t LeftColumnWidth;
size_t LeftColumnStartX;
@@ -950,7 +950,7 @@ void TagEditor::LocateSong(const MPD::Song &s)
}
}
namespace {//
namespace {
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)
{

View File

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

View File

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