mediasettingsview.h 1.99 KB
Newer Older
1
/*
2
 *  Copyright (C) 2015-2019 Savoir-faire Linux Inc.
3
 *  Author: Stepan Salenikovich <stepan.salenikovich@savoirfairelinux.com>
4
 *  Author: Sébastien Blin <sebastien.blin@savoirfairelinux.com>
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA.
 */

21 22
#ifndef _MEDIASETTINGSVIEW_H
#define _MEDIASETTINGSVIEW_H
23 24 25

#include <gtk/gtk.h>

26 27 28 29 30 31 32 33
namespace lrc
{
namespace api
{
    class AVModel;
}
}

34 35
G_BEGIN_DECLS

36 37 38 39 40
#define MEDIA_SETTINGS_VIEW_TYPE            (media_settings_view_get_type ())
#define MEDIA_SETTINGS_VIEW(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), MEDIA_SETTINGS_VIEW_TYPE, MediaSettingsView))
#define MEDIA_SETTINGS_VIEW_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST((klass), MEDIA_SETTINGS_VIEW_TYPE, MediaSettingsViewClass))
#define IS_MEDIA_SETTINGS_VIEW(obj)         (G_TYPE_CHECK_INSTANCE_TYPE((obj), MEDIA_SETTINGS_VIEW_TYPE))
#define IS_MEDIA_SETTINGS_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), MEDIA_SETTINGS_VIEW_TYPE))
41

42 43
typedef struct _MediaSettingsView      MediaSettingsView;
typedef struct _MediaSettingsViewClass MediaSettingsViewClass;
44

45
GType      media_settings_view_get_type      (void) G_GNUC_CONST;
46
GtkWidget *media_settings_view_new           (lrc::api::AVModel& avModel);
47
void       media_settings_view_show_preview  (MediaSettingsView *self, gboolean show_preview);
48 49 50

G_END_DECLS

51
#endif /* _MEDIASETTINGSVIEW_H */