Stats: rename stats.h to Stats.hxx
This commit is contained in:
@@ -26,11 +26,7 @@
|
||||
#include "Directory.hxx"
|
||||
#include "util/Error.hxx"
|
||||
#include "ConfigData.hxx"
|
||||
|
||||
extern "C" {
|
||||
#include "stats.h"
|
||||
}
|
||||
|
||||
#include "Stats.hxx"
|
||||
#include "DatabasePlugin.hxx"
|
||||
#include "db/SimpleDatabasePlugin.hxx"
|
||||
|
||||
@@ -43,6 +39,7 @@ extern "C" {
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
|
||||
|
||||
static Database *db;
|
||||
static bool db_is_open;
|
||||
static bool is_simple;
|
||||
|
@@ -62,10 +62,7 @@
|
||||
#include "ConfigData.hxx"
|
||||
#include "ConfigDefaults.hxx"
|
||||
#include "ConfigOption.hxx"
|
||||
|
||||
extern "C" {
|
||||
#include "stats.h"
|
||||
}
|
||||
#include "Stats.hxx"
|
||||
|
||||
#ifdef ENABLE_INOTIFY
|
||||
#include "InotifyUpdate.hxx"
|
||||
|
@@ -36,11 +36,7 @@
|
||||
#include "util/UriUtil.hxx"
|
||||
#include "util/Error.hxx"
|
||||
#include "fs/Path.hxx"
|
||||
|
||||
extern "C" {
|
||||
#include "stats.h"
|
||||
}
|
||||
|
||||
#include "Stats.hxx"
|
||||
#include "Permission.hxx"
|
||||
#include "PlaylistFile.hxx"
|
||||
#include "ClientFile.hxx"
|
||||
|
@@ -18,11 +18,7 @@
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
extern "C" {
|
||||
#include "stats.h"
|
||||
}
|
||||
|
||||
#include "Stats.hxx"
|
||||
#include "PlayerControl.hxx"
|
||||
#include "ClientInternal.hxx"
|
||||
#include "DatabaseSelection.hxx"
|
||||
|
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2003-2011 The Music Player Daemon Project
|
||||
* Copyright (C) 2003-2013 The Music Player Daemon Project
|
||||
* http://www.musicpd.org
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
@@ -17,8 +17,8 @@
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#ifndef MPD_STATS_H
|
||||
#define MPD_STATS_H
|
||||
#ifndef MPD_STATS_HXX
|
||||
#define MPD_STATS_HXX
|
||||
|
||||
#include <glib.h>
|
||||
|
@@ -29,11 +29,7 @@
|
||||
#include "GlobalEvents.hxx"
|
||||
#include "util/Error.hxx"
|
||||
#include "Log.hxx"
|
||||
|
||||
extern "C" {
|
||||
#include "stats.h"
|
||||
}
|
||||
|
||||
#include "Stats.hxx"
|
||||
#include "Main.hxx"
|
||||
#include "Instance.hxx"
|
||||
#include "system/FatalError.hxx"
|
||||
|
Reference in New Issue
Block a user