photos-base-model.h 1.27 KB
Newer Older
Debarshi Ray's avatar
Debarshi Ray committed
1 2
/*
 * Photos - access, organize and share your photos on GNOME
Debarshi Ray's avatar
Debarshi Ray committed
3
 * Copyright © 2014 – 2017 Red Hat, Inc.
Debarshi Ray's avatar
Debarshi Ray committed
4
 *
5 6 7 8
 * 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.
Debarshi Ray's avatar
Debarshi Ray committed
9 10 11 12 13 14 15
 *
 * 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
16
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
Debarshi Ray's avatar
Debarshi Ray committed
17 18 19 20 21 22 23 24 25
 */

/* Based on code from:
 *   + Documents
 */

#ifndef PHOTOS_BASE_MODEL_H
#define PHOTOS_BASE_MODEL_H

26
#include <gio/gio.h>
Debarshi Ray's avatar
Debarshi Ray committed
27 28 29 30 31 32

#include "photos-base-manager.h"

G_BEGIN_DECLS

#define PHOTOS_TYPE_BASE_MODEL (photos_base_model_get_type ())
33
G_DECLARE_FINAL_TYPE (PhotosBaseModel, photos_base_model, PHOTOS, BASE_MODEL, GObject);
Debarshi Ray's avatar
Debarshi Ray committed
34

35 36 37
PhotosBaseModel  *photos_base_model_new                    (PhotosBaseManager *mngr);

GMenu            *photos_base_model_get_model              (PhotosBaseModel *self);
Debarshi Ray's avatar
Debarshi Ray committed
38 39 40 41

G_END_DECLS

#endif /* PHOTOS_BASE_MODEL_H */