~codygarver/+junk/gnome-builder

« back to all changes in this revision

Viewing changes to libide/ide-project-files.h

  • Committer: Cody Garver
  • Date: 2015-11-21 00:50:38 UTC
  • Revision ID: cody@elementary.io-20151121005038-8wygis63zt0ljqlz
Import https://github.com/chergert/gnome-builder 06e3158922a02a27f4abca250d70aa7b2970e06a

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* ide-project-files.h
 
2
 *
 
3
 * Copyright (C) 2015 Christian Hergert <christian@hergert.me>
 
4
 *
 
5
 * This program is free software: you can redistribute it and/or modify
 
6
 * it under the terms of the GNU General Public License as published by
 
7
 * the Free Software Foundation, either version 3 of the License, or
 
8
 * (at your option) any later version.
 
9
 *
 
10
 * This program is distributed in the hope that it will be useful,
 
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
 * GNU General Public License for more details.
 
14
 *
 
15
 * 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/>.
 
17
 */
 
18
 
 
19
#ifndef IDE_PROJECT_FILES_H
 
20
#define IDE_PROJECT_FILES_H
 
21
 
 
22
#include "ide-project-file.h"
 
23
#include "ide-project-item.h"
 
24
 
 
25
G_BEGIN_DECLS
 
26
 
 
27
#define IDE_TYPE_PROJECT_FILES (ide_project_files_get_type())
 
28
 
 
29
G_DECLARE_FINAL_TYPE (IdeProjectFiles, ide_project_files, IDE, PROJECT_FILES,
 
30
                      IdeProjectItem)
 
31
 
 
32
struct _IdeProjectFiles
 
33
{
 
34
  IdeProjectItem parent_instance;
 
35
};
 
36
 
 
37
IdeFile        *ide_project_files_get_file_for_path (IdeProjectFiles *self,
 
38
                                                     const gchar     *path);
 
39
void            ide_project_files_add_file          (IdeProjectFiles *self,
 
40
                                                     IdeProjectFile  *file);
 
41
IdeProjectItem *ide_project_files_find_file         (IdeProjectFiles *self,
 
42
                                                     GFile           *file);
 
43
 
 
44
G_END_DECLS
 
45
 
 
46
#endif /* IDE_PROJECT_FILES_H */