/usr/include/libaudqt/libaudqt.h is in audacious-dev 3.7.2-1+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 | /*
* libaudqt.h
* Copyright 2014 William Pitcock
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions, and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions, and the following disclaimer in the documentation
* provided with the distribution.
*
* This software is provided "as is" and without any warranty, express or
* implied. In no event shall the authors be liable for any damages arising from
* the use of this software.
*/
#ifndef LIBAUDQT_H
#define LIBAUDQT_H
#include <QMessageBox>
#include <QString>
#include <libaudcore/objects.h>
class QBoxLayout;
class QLayout;
class QPixmap;
class QWidget;
enum class PluginType;
class PluginHandle;
struct PreferencesWidget;
namespace audqt {
enum class FileMode {
Open,
OpenFolder,
Add,
AddFolder,
count
};
struct MenuItem;
/* about.cc */
void aboutwindow_show ();
void aboutwindow_hide ();
/* playlist-management.cc */
void playlist_show_rename (int playlist);
void playlist_confirm_delete (int playlist);
/* equalizer.cc */
void equalizer_show ();
void equalizer_hide ();
/* fileopener.cc */
void fileopener_show (FileMode mode);
/* url-opener.cc */
void urlopener_show (bool open);
/* util.cc */
void init ();
void run ();
void quit ();
void cleanup ();
void enable_layout (QLayout * layout, bool enabled);
void clear_layout (QLayout * layout);
void window_bring_to_front (QWidget * win);
void simple_message (const char * title, const char * text);
void simple_message (const char * title, const char * text, QMessageBox::Icon icon);
QString translate_str (const char * str, const char * domain);
#ifdef PACKAGE
static inline QString translate_str (const char * str)
{ return translate_str (str, PACKAGE); }
#endif
/* prefs-builder.cc */
void prefs_populate (QBoxLayout * layout, ArrayRef<PreferencesWidget> widgets, const char * domain);
/* prefs-plugin.cc */
void plugin_about (PluginHandle * ph);
void plugin_prefs (PluginHandle * ph);
/* prefs-window.cc */
void prefswin_show ();
void prefswin_hide ();
void prefswin_show_page (int id, bool show = true);
void prefswin_show_plugin_page (PluginType type);
/* log-inspector.cc */
void log_inspector_show ();
void log_inspector_hide ();
/* art.cc */
QPixmap art_request (const char * filename, unsigned int w = 256, unsigned int h = 256, bool want_hidpi = true);
QPixmap art_request_current (unsigned int w = 256, unsigned int h = 256, bool want_hidpi = true);
/* infowin.cc */
void infowin_show (int playlist, int entry);
void infowin_show_current ();
void infowin_hide ();
/* queue-manager.cc */
void queue_manager_show ();
void queue_manager_hide ();
} // namespace audqt
#endif
|