/usr/include/glom-1.22/libglom/init.h is in libglom-1.22-dev 1.22.4-0ubuntu5.
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 81 82 83 84 85 86 87 88 89 90 | /* Glom
*
* Copyright (C) 2001-2009 Murray Cumming
*
* 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 GLOM_LIBGLOM_INIT_H
#define GLOM_LIBGLOM_INIT_H
/** @mainpage libglom Reference Manual
*
* @section description Description
*
* libglom provides API to access Glom's XML-based Glom::Document structure.
* AppWindows may use it to load a .glom document and then call methods
* on the document to discover the connection details and the data structure, including:
* - The list of tables
* - The list of fields in each table
* - The details of each field, such as field type, title, default value, formatting, etc.
* - The relationships between tables.
* - The layout of fields on list and details views.
* - The layout of print layouts.
* - The layout of reports.
*
* libglom also contains utility functions, such as
* Glom::Utils::build_sql_select_with_where_clause(), to build the complicated SQL queries
* used by Glom to retrieve information from the database.
*
* See http://git.gnome.org/browse/glom/tree/glom/libglom/example_document_load.cc
* for a small working example.
*
* @section warning Warning
*
* libglom is not yet API stable, not properly documented, not thoroughly tested,
* and not yet really intended for serious use by applications other than
* <a href="http://www.glom.org/">Glom</a> and
* <a href="http://gitorious.org/qlom">Qlom</a>.
*
* @section basics Basic Usage
*
* Include the individual libglom headers. For instance:
* @code
* #include <libglom/document/document.h>
* @endcode
*
* If your source file is @c program.cc, you can compile it with:
* @code
* g++ program.cc -o program `pkg-config --cflags --libs glom-1.22`
* @endcode
*
* Alternatively, if using autoconf, use the following in @c configure.ac:
* @code
* PKG_CHECK_MODULES([DEPS], [glom-1.22])
* @endcode
* Then use the generated @c DEPS_CFLAGS and @c DEPS_LIBS variables in the
* project @c Makefile.am files. For example:
* @code
* program_CPPFLAGS = $(DEPS_CFLAGS)
* program_LDADD = $(DEPS_LIBS)
* @endcode
*/
namespace Glom
{
/** This must be used by applications other than Glom,
* which are unlikely to otherwise initialize the libraries used by libglom.
* Glom uses it too, just to avoid duplicating code.
*/
void libglom_init();
void libglom_deinit();
} //namespace Glom
#endif //GLOM_LIBGLOM_INIT_H
|