/usr/include/jana/libjana/jana-note.h is in libjana-dev 0.0.0+git20091215.9ec1da8a-3build4.
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 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 | /*
* Author: Chris Lord <chris@linux.intel.com>
* Copyright (c) 2007 OpenedHand Ltd
* Copyright (C) 2008 - 2009 Intel Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU Lesser General Public License,
* version 2.1, as published by the Free Software Foundation.
*
* This program is distributed in the hope it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
* more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef JANA_NOTE_H
#define JANA_NOTE_H
#include <glib-object.h>
#include <libjana/jana-time.h>
#define JANA_TYPE_NOTE (jana_note_get_type ())
#define JANA_NOTE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),\
JANA_TYPE_NOTE, JanaNote))
#define JANA_IS_NOTE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),\
JANA_TYPE_NOTE))
#define JANA_NOTE_GET_INTERFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst),\
JANA_TYPE_NOTE, JanaNoteInterface))
/**
* JanaNote:
*
* The #JanaNote struct contains only private data.
*/
typedef struct _JanaNote JanaNote; /* Dummy object */
typedef struct _JanaNoteInterface JanaNoteInterface;
struct _JanaNoteInterface {
GTypeInterface parent;
/* Getter functions */
gchar * (*get_author) (JanaNote *self);
gchar * (*get_recipient) (JanaNote *self);
gchar * (*get_body) (JanaNote *self);
JanaTime * (*get_creation_time) (JanaNote *self);
JanaTime * (*get_modified_time) (JanaNote *self);
/* Setter functions */
void (*set_author) (JanaNote *self, const gchar *author);
void (*set_recipient)(JanaNote *self, const gchar *recipient);
void (*set_body) (JanaNote *self, const gchar *body);
void (*set_creation_time) (JanaNote *self, JanaTime *time);
};
GType jana_note_get_type (void);
gchar *jana_note_get_author (JanaNote *note);
gchar *jana_note_get_recipient (JanaNote *note);
gchar *jana_note_get_body (JanaNote *note);
JanaTime *jana_note_get_creation_time (JanaNote *note);
JanaTime *jana_note_get_modified_time (JanaNote *note);
void jana_note_set_author (JanaNote *note, const gchar *author);
void jana_note_set_recipient (JanaNote *note, const gchar *recipient);
void jana_note_set_body (JanaNote *note, const gchar *body);
void jana_note_set_creation_time (JanaNote *note, JanaTime *time);
#endif /* JANA_NOTE_H */
|