Debian Codegraph @

src/av-cp/search-dialog.h

raw
1 /*
2 * Copyright (C) 2016 Jens Georg <[email protected]>
3 *
4 * Authors: Jens Georg <[email protected]>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License along
17 * with this program; if not, write to the Free Software Foundation,
18 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19 */
20
21 #ifndef SEARCH_DIALOG_H
22 #define SEARCH_DIALOG_H
23
24 #include <gtk/gtk.h>
25
26 #include "server-device.h"
27
28 #define SEARCH_DIALOG_TYPE (search_dialog_get_type ())
29 #define SEARCH_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
30 SEARCH_DIALOG_TYPE, \
31 SearchDialog))
32
33 typedef struct _SearchDialog SearchDialog;
34 typedef struct _SearchDialogClass SearchDialogClass;
35
36 GType search_dialog_get_type (void);
37
38 GtkDialog *
39 search_dialog_new ();
40
41 void
42 search_dialog_set_server (SearchDialog *self, AVCPMediaServer *server);
43
44 void
45 search_dialog_set_container_id (SearchDialog *self, char *id);
46
47 void
48 search_dialog_set_container_title (SearchDialog *self, char *title);
49
50 void
51 search_dialog_run (SearchDialog *self);
52
53 #endif /* SEARCH_DIALOG_H */