2006-12-03 James Livingston <doclivingston@gmail.com>
[rhythmbox.git] / shell / rb-play-order-queue.h
blobb9894806a2e04ad627682815ec9d70c25a7b95b2
1 /*
2 * Copyright (C) 2003 Jeffrey Yasskin <jyasskin@mail.utexas.edu>
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 #ifndef __RB_PLAY_ORDER_QUEUE_H
21 #define __RB_PLAY_ORDER_QUEUE_H
23 #include "rb-play-order.h"
25 #include "rb-shell-player.h"
27 G_BEGIN_DECLS
29 #define RB_TYPE_QUEUE_PLAY_ORDER (rb_queue_play_order_get_type ())
30 #define RB_QUEUE_PLAY_ORDER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), RB_TYPE_QUEUE_PLAY_ORDER, RBQueuePlayOrder))
31 #define RB_QUEUE_PLAY_ORDER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), RB_TYPE_QUEUE_PLAY_ORDER, RBQueuePlayOrderClass))
32 #define RB_IS_QUEUE_PLAY_ORDER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), RB_TYPE_QUEUE_PLAY_ORDER))
33 #define RB_IS_QUEUE_PLAY_ORDER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), RB_TYPE_QUEUE_PLAY_ORDER))
34 #define RB_QUEUE_PLAY_ORDER_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), RB_TYPE_QUEUE_PLAY_ORDER, RBQueuePlayOrderClass))
36 typedef struct
38 RBPlayOrder parent;
39 } RBQueuePlayOrder;
41 typedef struct
43 RBPlayOrderClass parent_class;
44 } RBQueuePlayOrderClass;
46 GType rb_queue_play_order_get_type (void);
48 RBPlayOrder * rb_queue_play_order_new (RBShellPlayer *player);
50 G_END_DECLS
52 #endif /* __RB_PLAY_ORDER_QUEUE_H */