/* * Copyright 2014 (c) Anna Schumaker. */ #ifndef OCARINA_H #define OCARINA_H #include #include /* main.cpp */ namespace gui { extern Glib::RefPtr __O_BUILDER; const std::string share_file(const std::string &); template static inline T *get_widget(const std::string &name) { T *widget; __O_BUILDER->get_widget(name, widget); return widget; } template static inline Glib::RefPtr get_object(const std::string &name) { return Glib::RefPtr::cast_static(__O_BUILDER->get_object(name)); } } extern struct queue_ops collection_ops; extern struct queue_ops history_ops; extern struct queue_ops playlist_ops; extern struct queue_ops tempq_ops; extern struct audio_ops audio_ops; void on_pq_created(queue *, unsigned int); void post_init_queue_tabs(); /* gst.cpp */ namespace gst { void next(); void toggle(); void init_pre(); void init(); void quit(); } /* manager.cpp */ namespace manager { void init(); } /* playlist.cpp */ namespace plist { void track_loaded(struct track *track); void init(); } /* window.cpp */ Gtk::Window *window_init(); #endif /* OCARINA_H */