Header file roundup

Create include/lib/ and include/gui/.  Move header files into the
appropriate directory.

Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
This commit is contained in:
Anna Schumaker 2014-06-04 13:59:15 -04:00
parent 851be80a7d
commit 87af56ba85
58 changed files with 103 additions and 103 deletions

View File

@ -1,10 +1,10 @@
/*
* Copyright 2014 (c) Anna Schumaker.
*/
#include <deck.h>
#include <library.h>
#include <playlist.h>
#include <tabs.h>
#include <lib/deck.h>
#include <lib/library.h>
#include <lib/playlist.h>
#include <gui/tabs.h>
class CollectionTab : public Tab {

View File

@ -1,9 +1,9 @@
/*
* Copyright 2014 (c) Anna Schumaker.
*/
#include <callback.h>
#include <library.h>
#include <ocarina.h>
#include <lib/callback.h>
#include <lib/library.h>
#include <gui/ocarina.h>
static void on_library_add(unsigned int id, Library *library);

View File

@ -1,16 +1,16 @@
/*
* Copyright 2014 (c) Anna Schumaker.
*/
#include <audio.h>
#include <callback.h>
#include <deck.h>
#include <driver.h>
#include <idle.h>
#include <playlist.h>
#include <lib/audio.h>
#include <lib/callback.h>
#include <lib/deck.h>
#include <lib/driver.h>
#include <lib/idle.h>
#include <lib/playlist.h>
#include <lib/print.h>
#include <ocarina.h>
#include <print.h>
#include <tabs.h>
#include <gui/ocarina.h>
#include <gui/tabs.h>
static bool audio_playing = false;
static Glib::RefPtr<Gtk::Builder> builder;

View File

@ -1,8 +1,8 @@
/*
* Copyright 2014 (c) Anna Schumaker.
*/
#include <deck.h>
#include <tabs.h>
#include <lib/deck.h>
#include <gui/tabs.h>
class HistoryTab : public Tab {

View File

@ -1,12 +1,12 @@
/*
* Copyright 2014 (c) Anna Schumaker.
*/
#include <audio.h>
#include <deck.h>
#include <library.h>
#include <ocarina.h>
#include <playlist.h>
#include <tabs.h>
#include <lib/audio.h>
#include <lib/deck.h>
#include <lib/library.h>
#include <lib/playlist.h>
#include <gui/ocarina.h>
#include <gui/tabs.h>
const std::string share_file(const std::string &file)
{

View File

@ -4,8 +4,8 @@
* See the example at:
* https://git.gnome.org/browse/gtkmm-documentation/tree/examples/others/treemodelcustom
*/
#include <audio.h>
#include <ocarina.h>
#include <lib/audio.h>
#include <gui/ocarina.h>
#include <stdlib.h>
#include <sstream>

View File

@ -1,8 +1,8 @@
/*
* Copyright 2014 (c) Anna Schumaker.
*/
#include <playlist.h>
#include <tabs.h>
#include <lib/playlist.h>
#include <gui/tabs.h>
static const std::string current_playlist();

View File

@ -1,9 +1,9 @@
/*
* Copyright 2014 (c) Anna Schumaker.
*/
#include <callback.h>
#include <deck.h>
#include <tabs.h>
#include <lib/callback.h>
#include <lib/deck.h>
#include <gui/tabs.h>
#include <map>

View File

@ -1,11 +1,11 @@
/*
* Copyright 2014 (c) Anna Schumaker.
*/
#include <callback.h>
#include <deck.h>
#include <filter.h>
#include <playlist.h>
#include <tabs.h>
#include <lib/callback.h>
#include <lib/deck.h>
#include <lib/filter.h>
#include <lib/playlist.h>
#include <gui/tabs.h>
#include <map>
#include <sstream>

View File

@ -4,7 +4,7 @@
#ifndef OCARINA_H
#define OCARINA_H
#include <queue.h>
#include <lib/queue.h>
#include <gtkmm.h>

View File

@ -4,8 +4,8 @@
#ifndef OCARINA_TABS_H
#define OCARINA_TABS_H
#include <ocarina.h>
#include <queue.h>
#include <gui/ocarina.h>
#include <lib/queue.h>
#include <set>
class Tab {

View File

@ -4,7 +4,7 @@
#ifndef OCARINA_AUDIO_H
#define OCARINA_AUDIO_H
#include <tags.h>
#include <lib/tags.h>
#include <string>
namespace audio

View File

@ -4,8 +4,8 @@
#ifndef OCARINA_CALLBACK_H
#define OCARINA_CALLBACK_H
#include <library.h>
#include <queue.h>
#include <lib/library.h>
#include <lib/queue.h>
struct Callbacks {

View File

@ -4,7 +4,7 @@
#ifndef OCARINA_DATABASE_H
#define OCARINA_DATABASE_H
#include <file.h>
#include <lib/file.h>
#include <map>
#include <vector>

View File

@ -4,7 +4,7 @@
#ifndef OCARINA_DECK_H
#define OCARINA_DECK_H
#include <queue.h>
#include <lib/queue.h>
#include <list>

View File

@ -4,7 +4,7 @@
#ifndef OCARINA_INDEX_H
#define OCARINA_INDEX_H
#include <database.h>
#include <lib/database.h>
#include <set>
#include <string>

View File

@ -4,8 +4,8 @@
#ifndef OCARINA_LIBRARY_H
#define OCARINA_LIBRARY_H
#include <queue.h>
#include <tags.h>
#include <lib/queue.h>
#include <lib/tags.h>
#include <string>
namespace library

View File

@ -4,8 +4,8 @@
#ifndef OCARINA_PLAYLIST_H
#define OCARINA_PLAYLIST_H
#include <index.h>
#include <queue.h>
#include <lib/index.h>
#include <lib/queue.h>
#include <string>

View File

@ -4,8 +4,8 @@
#ifndef OCARINA_QUEUE_H
#define OCARINA_QUEUE_H
#include <file.h>
#include <tags.h>
#include <lib/file.h>
#include <lib/tags.h>
#include <vector>
#include <list>

View File

@ -4,7 +4,7 @@
#ifndef OCARINA_TAGS_H
#define OCARINA_TAGS_H
#include <database.h>
#include <lib/database.h>
enum sort_t {

View File

@ -1,10 +1,10 @@
/*
* Copyright 2013 (c) Anna Schumaker.
*/
#include <audio.h>
#include <callback.h>
#include <deck.h>
#include <driver.h>
#include <lib/audio.h>
#include <lib/callback.h>
#include <lib/deck.h>
#include <lib/driver.h>
#include <sstream>
#include <string.h>

View File

@ -1,7 +1,7 @@
/*
* Copyright 2014 (c) Anna Schumaker.
*/
#include <callback.h>
#include <lib/callback.h>
static void no_op() {}

View File

@ -1,7 +1,7 @@
/*
* Copyright 2013 (c) Anna Schumaker.
*/
#include <database.h>
#include <lib/database.h>
DatabaseEntry :: DatabaseEntry()

View File

@ -1,10 +1,10 @@
/*
* Copyright 2013 (c) Anna Schumaker.
*/
#include <callback.h>
#include <deck.h>
#include <file.h>
#include <library.h>
#include <lib/callback.h>
#include <lib/deck.h>
#include <lib/file.h>
#include <lib/library.h>
class RecentQueue : public Queue

View File

@ -1,7 +1,7 @@
/*
* Copyright 2014 (c) Anna Schumaker.
*/
#include <driver.h>
#include <lib/driver.h>
Driver :: Driver() {}

View File

@ -1,8 +1,8 @@
/*
* Copyright 2013 (c) Anna Schumaker.
*/
#include <error.h>
#include <file.h>
#include <lib/error.h>
#include <lib/file.h>
#include <glib.h>

View File

@ -2,8 +2,8 @@
* Copyright 2013 (c) Anna Schumaker.
*/
#include <filter.h>
#include <index.h>
#include <lib/filter.h>
#include <lib/index.h>
#include <algorithm>
#include <list>

View File

@ -1,7 +1,7 @@
/*
* Copyright 2013 (c) Anna Schumaker.
*/
#include <idle.h>
#include <lib/idle.h>
#include <queue>

View File

@ -1,7 +1,7 @@
/*
* Copyright 2014 (c) Anna Schumaker.
*/
#include <index.h>
#include <lib/index.h>
IndexEntry :: IndexEntry() {}

View File

@ -1,8 +1,8 @@
/*
* Copyright 2013 (c) Anna Schumaker.
*/
#include <idle.h>
#include <library.h>
#include <lib/idle.h>
#include <lib/library.h>
#include <glib.h>

View File

@ -1,8 +1,8 @@
/*
* Copyright 2013 (c) Anna Schumaker.
*/
#include <library.h>
#include <playlist.h>
#include <lib/library.h>
#include <lib/playlist.h>
class PlaylistQueue : public Queue {

View File

@ -1,9 +1,9 @@
/*
* Copyright 2013 (c) Anna Schumaker.
*/
#include <callback.h>
#include <queue.h>
#include <random.h>
#include <lib/callback.h>
#include <lib/queue.h>
#include <lib/random.h>
#include <algorithm>
#include <sstream>

View File

@ -3,7 +3,7 @@
*/
#ifdef CONFIG_TEST
#include <random.h>
#include <lib/random.h>
static unsigned int _random_value = 0;

View File

@ -2,9 +2,9 @@
* Copyright 2014 (c) Anna Schumaker.
*/
#include <tags.h>
#include <filter.h>
#include <print.h>
#include <lib/tags.h>
#include <lib/filter.h>
#include <lib/print.h>
#include <sstream>
#include <taglib/tag.h>

View File

@ -1,9 +1,9 @@
/*
* Copyright 2013 (c) Anna Schumaker.
*/
#include <audio.h>
#include <driver.h>
#include <library.h>
#include <lib/audio.h>
#include <lib/driver.h>
#include <lib/library.h>
#include "test.h"
Track *TRACK_NULL = NULL;

View File

@ -3,7 +3,7 @@
* Test a Database
*/
#include <database.h>
#include <lib/database.h>
#include "test.h"
#include <sstream>

View File

@ -1,9 +1,9 @@
/*
* Copyright 2013 (c) Anna Schumaker.
*/
#include <callback.h>
#include <deck.h>
#include <library.h>
#include <lib/callback.h>
#include <lib/deck.h>
#include <lib/library.h>
#include "test.h"
static Queue *Q_NULL = NULL;

View File

@ -1,7 +1,7 @@
/*
* Copyright 2014 (c) Anna Schumaker.
*/
#include <driver.h>
#include <lib/driver.h>
#include "test.h"
static TestDriver *DRIVER_NULL = NULL;

View File

@ -1,7 +1,7 @@
/*
* Copyright 2014 (c) Anna Schumaker.
*/
#include <file.h>
#include <lib/file.h>
#include "test.h"

View File

@ -3,7 +3,7 @@
* Test the filtering code
*/
#include <filter.h>
#include <lib/filter.h>
#include "test.h"
static void do_test_lowercase(const std::string &text, const std::string &lc)

View File

@ -3,7 +3,7 @@
* Test the idle queue
*/
#include <idle.h>
#include <lib/idle.h>
#include "test.h"
#include <sstream>

View File

@ -3,7 +3,7 @@
* Test a Database
*/
#include <index.h>
#include <lib/index.h>
#include "test.h"
#include <sstream>

View File

@ -1,8 +1,8 @@
/*
* Copyright 2013 (c) Anna Schumaker.
*/
#include <idle.h>
#include <library.h>
#include <lib/idle.h>
#include <lib/library.h>
#include "test.h"
static Queue *Q_NULL = NULL;

View File

@ -1,8 +1,8 @@
/*
* Copyright 2013 (c) Anna Schumaker.
*/
#include <library.h>
#include <playlist.h>
#include <lib/library.h>
#include <lib/playlist.h>
#include "test.h"
static IndexEntry *IDX_NULL = NULL;

View File

@ -1,10 +1,10 @@
/*
* Copyright 2014 (c) Anna Schumaker.
*/
#include <callback.h>
#include <queue.h>
#include <random.h>
#include <tags.h>
#include <lib/callback.h>
#include <lib/queue.h>
#include <lib/random.h>
#include <lib/tags.h>
#include "test.h"

View File

@ -2,7 +2,7 @@
* Copyright 2014 (c) Anna Schumaker.
*/
#include <random.h>
#include <lib/random.h>
#include "test.h"
#include <sstream>

View File

@ -3,7 +3,7 @@
* Test a DatabaseEntry
*/
#include <tags.h>
#include <lib/tags.h>
#include "test.h"
static Library *LIB_NULL = NULL;

View File

@ -1,7 +1,7 @@
/*
* Copyright 2013 (c) Anna Schumaker.
*/
#include <version.h>
#include <lib/version.h>
#include "test.h"
#ifdef CONFIG_DEBUG