/usr/include/libfm-1.0/fm-templates.h is in libfm-dev 1.2.0-1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | /*
* fm-templates.h
*
* Copyright 2012 Andriy Grytsenko (LStranger) <andrej@rep.kiev.ua>
*
* 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 2 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.
*/
#ifndef __FM_TEMPLATES_H__
#define __FM_TEMPLATES_H__
#include <glib.h>
#include "fm-mime-type.h"
G_BEGIN_DECLS
#define FM_TEMPLATE_TYPE (fm_template_get_type())
#define FM_IS_TEMPLATE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), FM_TEMPLATE_TYPE))
typedef struct _FmTemplate FmTemplate;
typedef struct _FmTemplateClass FmTemplateClass;
GType fm_template_get_type(void);
void _fm_templates_init(void);
void _fm_templates_finalize(void);
GList *fm_template_list_all(gboolean user_only);
const gchar *fm_template_get_name(FmTemplate *templ, gint *nlen);
FmMimeType *fm_template_get_mime_type(FmTemplate *templ);
FmIcon *fm_template_get_icon(FmTemplate *templ);
const gchar *fm_template_get_prompt(FmTemplate *templ);
const gchar *fm_template_get_label(FmTemplate *templ);
gboolean fm_template_is_directory(FmTemplate *templ);
gboolean fm_template_create_file(FmTemplate *templ, GFile *path, GError **error,
gboolean run_default);
G_END_DECLS
#endif /* __FM_TEMPLATES_H__ */
|