# HG changeset patch # User nenolod # Date 1155242575 25200 # Node ID 7c7195221c0b75bb8355eb30902c1ef86e9179e9 # Parent 65b85145be84c3b233aa5da7a9adad8b7195caba [svn] Do not allow widgetcore private includes to be referenced directly. This breaks SVN right now, but I will fix it in a few moments. diff -r 65b85145be84 -r 7c7195221c0b ChangeLog --- a/ChangeLog Thu Aug 10 12:55:28 2006 -0700 +++ b/ChangeLog Thu Aug 10 13:42:55 2006 -0700 @@ -1,3 +1,12 @@ +2006-08-10 19:55:28 +0000 William Pitcock + revision [2000] + - add widgetcore.h (replaces directly including all of that junk) + + + Changes: Modified: + +41 -0 trunk/audacious/widgets/widgetcore.h + + 2006-08-09 10:58:43 +0000 William Pitcock revision [1998] - these might be nice huh? diff -r 65b85145be84 -r 7c7195221c0b audacious/widgets/eq_graph.h --- a/audacious/widgets/eq_graph.h Thu Aug 10 12:55:28 2006 -0700 +++ b/audacious/widgets/eq_graph.h Thu Aug 10 13:42:55 2006 -0700 @@ -19,6 +19,10 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#ifndef _WIDGETCORE_H_ +#error Please do not include me directly! Use widgetcore.h instead! +#endif + #ifndef EQ_GRAPH_H #define EQ_GRAPH_H diff -r 65b85145be84 -r 7c7195221c0b audacious/widgets/eq_slider.h --- a/audacious/widgets/eq_slider.h Thu Aug 10 12:55:28 2006 -0700 +++ b/audacious/widgets/eq_slider.h Thu Aug 10 13:42:55 2006 -0700 @@ -18,6 +18,11 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef _WIDGETCORE_H_ +#error Please do not include me directly! Use widgetcore.h instead! +#endif + #ifndef EQ_SLIDER_H #define EQ_SLIDER_H diff -r 65b85145be84 -r 7c7195221c0b audacious/widgets/hslider.h --- a/audacious/widgets/hslider.h Thu Aug 10 12:55:28 2006 -0700 +++ b/audacious/widgets/hslider.h Thu Aug 10 13:42:55 2006 -0700 @@ -15,6 +15,11 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef _WIDGETCORE_H_ +#error Please do not include me directly! Use widgetcore.h instead! +#endif + #ifndef HSLIDER_H #define HSLIDER_H diff -r 65b85145be84 -r 7c7195221c0b audacious/widgets/menurow.h --- a/audacious/widgets/menurow.h Thu Aug 10 12:55:28 2006 -0700 +++ b/audacious/widgets/menurow.h Thu Aug 10 13:42:55 2006 -0700 @@ -18,6 +18,11 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef _WIDGETCORE_H_ +#error Please do not include me directly! Use widgetcore.h instead! +#endif + #ifndef MENUROW_H #define MENUROW_H diff -r 65b85145be84 -r 7c7195221c0b audacious/widgets/monostereo.h --- a/audacious/widgets/monostereo.h Thu Aug 10 12:55:28 2006 -0700 +++ b/audacious/widgets/monostereo.h Thu Aug 10 13:42:55 2006 -0700 @@ -18,6 +18,11 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef _WIDGETCORE_H_ +#error Please do not include me directly! Use widgetcore.h instead! +#endif + #ifndef MONOSTEREO_H #define MONOSTEREO_H diff -r 65b85145be84 -r 7c7195221c0b audacious/widgets/number.h --- a/audacious/widgets/number.h Thu Aug 10 12:55:28 2006 -0700 +++ b/audacious/widgets/number.h Thu Aug 10 13:42:55 2006 -0700 @@ -18,6 +18,11 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef _WIDGETCORE_H_ +#error Please do not include me directly! Use widgetcore.h instead! +#endif + #ifndef NUMBER_H #define NUMBER_H diff -r 65b85145be84 -r 7c7195221c0b audacious/widgets/pbutton.h --- a/audacious/widgets/pbutton.h Thu Aug 10 12:55:28 2006 -0700 +++ b/audacious/widgets/pbutton.h Thu Aug 10 13:42:55 2006 -0700 @@ -18,6 +18,11 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef _WIDGETCORE_H_ +#error Please do not include me directly! Use widgetcore.h instead! +#endif + #ifndef PBUTTON_H #define PBUTTON_H diff -r 65b85145be84 -r 7c7195221c0b audacious/widgets/playlist_list.h --- a/audacious/widgets/playlist_list.h Thu Aug 10 12:55:28 2006 -0700 +++ b/audacious/widgets/playlist_list.h Thu Aug 10 13:42:55 2006 -0700 @@ -19,6 +19,10 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#ifndef _WIDGETCORE_H_ +#error Please do not include me directly! Use widgetcore.h instead! +#endif + #ifndef PLAYLIST_LIST_H #define PLAYLIST_LIST_H diff -r 65b85145be84 -r 7c7195221c0b audacious/widgets/playlist_slider.h --- a/audacious/widgets/playlist_slider.h Thu Aug 10 12:55:28 2006 -0700 +++ b/audacious/widgets/playlist_slider.h Thu Aug 10 13:42:55 2006 -0700 @@ -19,6 +19,10 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#ifndef _WIDGETCORE_H_ +#error Please do not include me directly! Use widgetcore.h instead! +#endif + #ifndef PLAYLIST_SLIDER_H #define PLAYLIST_SLIDER_H diff -r 65b85145be84 -r 7c7195221c0b audacious/widgets/playstatus.h --- a/audacious/widgets/playstatus.h Thu Aug 10 12:55:28 2006 -0700 +++ b/audacious/widgets/playstatus.h Thu Aug 10 13:42:55 2006 -0700 @@ -15,6 +15,11 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef _WIDGETCORE_H_ +#error Please do not include me directly! Use widgetcore.h instead! +#endif + #ifndef PLAYSTATUS_H #define PLAYSTATUS_H diff -r 65b85145be84 -r 7c7195221c0b audacious/widgets/sbutton.h --- a/audacious/widgets/sbutton.h Thu Aug 10 12:55:28 2006 -0700 +++ b/audacious/widgets/sbutton.h Thu Aug 10 13:42:55 2006 -0700 @@ -19,6 +19,10 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#ifndef _WIDGETCORE_H_ +#error Please do not include me directly! Use widgetcore.h instead! +#endif + #ifndef SBUTTON_H #define SBUTTON_H diff -r 65b85145be84 -r 7c7195221c0b audacious/widgets/skin.h --- a/audacious/widgets/skin.h Thu Aug 10 12:55:28 2006 -0700 +++ b/audacious/widgets/skin.h Thu Aug 10 13:42:55 2006 -0700 @@ -19,6 +19,10 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#ifndef _WIDGETCORE_H_ +#error Please do not include me directly! Use widgetcore.h instead! +#endif + #ifndef SKIN_H #define SKIN_H diff -r 65b85145be84 -r 7c7195221c0b audacious/widgets/svis.h --- a/audacious/widgets/svis.h Thu Aug 10 12:55:28 2006 -0700 +++ b/audacious/widgets/svis.h Thu Aug 10 13:42:55 2006 -0700 @@ -18,6 +18,11 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef _WIDGETCORE_H_ +#error Please do not include me directly! Use widgetcore.h instead! +#endif + #ifndef SVIS_H #define SVIS_H diff -r 65b85145be84 -r 7c7195221c0b audacious/widgets/tbutton.h --- a/audacious/widgets/tbutton.h Thu Aug 10 12:55:28 2006 -0700 +++ b/audacious/widgets/tbutton.h Thu Aug 10 13:42:55 2006 -0700 @@ -19,6 +19,10 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#ifndef _WIDGETCORE_H_ +#error Please do not include me directly! Use widgetcore.h instead! +#endif + #ifndef TBUTTON_H #define TBUTTON_H diff -r 65b85145be84 -r 7c7195221c0b audacious/widgets/textbox.h --- a/audacious/widgets/textbox.h Thu Aug 10 12:55:28 2006 -0700 +++ b/audacious/widgets/textbox.h Thu Aug 10 13:42:55 2006 -0700 @@ -19,6 +19,10 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#ifndef _WIDGETCORE_H_ +#error Please do not include me directly! Use widgetcore.h instead! +#endif + #ifndef TEXTBOX_H #define TEXTBOX_H diff -r 65b85145be84 -r 7c7195221c0b audacious/widgets/vis.h --- a/audacious/widgets/vis.h Thu Aug 10 12:55:28 2006 -0700 +++ b/audacious/widgets/vis.h Thu Aug 10 13:42:55 2006 -0700 @@ -18,6 +18,11 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef _WIDGETCORE_H_ +#error Please do not include me directly! Use widgetcore.h instead! +#endif + #ifndef VIS_H #define VIS_H diff -r 65b85145be84 -r 7c7195221c0b audacious/widgets/widget.h --- a/audacious/widgets/widget.h Thu Aug 10 12:55:28 2006 -0700 +++ b/audacious/widgets/widget.h Thu Aug 10 13:42:55 2006 -0700 @@ -18,6 +18,11 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + +#ifndef _WIDGETCORE_H_ +#error Please do not include me directly! Use widgetcore.h instead! +#endif + #ifndef WIDGET_H #define WIDGET_H