remove silly comment after namespaces
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
@@ -30,7 +30,7 @@ BindingsConfiguration Bindings;
|
||||
|
||||
Key Key::noOp = Key(ERR, NCurses);
|
||||
|
||||
namespace {//
|
||||
namespace {
|
||||
|
||||
Key stringToSpecialKey(const std::string &s)
|
||||
{
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
#include "charset.h"
|
||||
#include "settings.h"
|
||||
|
||||
namespace Charset {//
|
||||
namespace Charset {
|
||||
|
||||
std::locale internalLocale()
|
||||
{
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
#include <locale>
|
||||
#include <string>
|
||||
|
||||
namespace Charset {//
|
||||
namespace Charset {
|
||||
|
||||
std::locale internalLocale();
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
using Global::myScreen;
|
||||
|
||||
namespace {//
|
||||
namespace {
|
||||
|
||||
const wchar_t *toColumnName(char c)
|
||||
{
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
#include "mutable_song.h"
|
||||
#include "search_engine.h"
|
||||
|
||||
namespace Display {//
|
||||
namespace Display {
|
||||
|
||||
std::string Columns(size_t);
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
#include "global.h"
|
||||
|
||||
namespace Global {//
|
||||
namespace Global {
|
||||
|
||||
BaseScreen *myScreen;
|
||||
BaseScreen *myLockedScreen;
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#include "mpdpp.h"
|
||||
#include "screen.h"
|
||||
|
||||
namespace Global {//
|
||||
namespace Global {
|
||||
|
||||
// currently active screen (displayed in main window)
|
||||
extern BaseScreen *myScreen;
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
#include "global.h"
|
||||
#include "macro_utilities.h"
|
||||
|
||||
namespace Actions {//
|
||||
namespace Actions {
|
||||
|
||||
void PushCharacters::run()
|
||||
{
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#include "actions.h"
|
||||
#include "screen_type.h"
|
||||
|
||||
namespace Actions {//
|
||||
namespace Actions {
|
||||
|
||||
struct PushCharacters : public BaseAction
|
||||
{
|
||||
|
||||
@@ -1013,7 +1013,7 @@ void MediaLibrary::AddToPlaylist(bool add_n_play)
|
||||
}
|
||||
}
|
||||
|
||||
namespace {//
|
||||
namespace {
|
||||
|
||||
std::string AlbumToString(const AlbumEntry &ae)
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
#include "config.h"
|
||||
#include "song.h"
|
||||
|
||||
namespace MPD {//
|
||||
namespace MPD {
|
||||
|
||||
struct MutableSong : public Song
|
||||
{
|
||||
|
||||
@@ -303,7 +303,7 @@ void Playlist::unregisterSong(const MPD::Song &s)
|
||||
--it->second;
|
||||
}
|
||||
|
||||
namespace {//
|
||||
namespace {
|
||||
|
||||
std::string songToString(const MPD::Song &s)
|
||||
{
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
|
||||
SelectedItemsAdder *mySelectedItemsAdder;
|
||||
|
||||
namespace {//
|
||||
namespace {
|
||||
|
||||
void DisplayComponent(SelectedItemsAdder::Component &menu)
|
||||
{
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
#include <mpd/client.h>
|
||||
|
||||
namespace MPD {//
|
||||
namespace MPD {
|
||||
|
||||
struct Song
|
||||
{
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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).
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
#include <tfile.h>
|
||||
#include "mutable_song.h"
|
||||
|
||||
namespace Tags {//
|
||||
namespace Tags {
|
||||
|
||||
struct ReplayGainInfo
|
||||
{
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
#include "comparators.h"
|
||||
#include "utility/string.h"
|
||||
|
||||
namespace {//
|
||||
namespace {
|
||||
|
||||
bool hasTheWord(const std::string &s)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user