summaryrefslogtreecommitdiff
path: root/desktop/netsurf.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-10-16 09:41:50 +0100
committerVincent Sanders <vince@kyllikki.org>2014-10-16 22:33:43 +0100
commitab7f3e31800ade0cec9c071e61cc001ee9470f69 (patch)
tree683abf5132e18fb62454d3c0a4afa548827e5722 /desktop/netsurf.h
parent9d3c2b18c4ad5229cfb931f81be75a5978f300cd (diff)
downloadnetsurf-ab7f3e31800ade0cec9c071e61cc001ee9470f69.tar.gz
netsurf-ab7f3e31800ade0cec9c071e61cc001ee9470f69.tar.bz2
Split up graphical user interface operations table headers
This is the initial part of a series which splits up the API interface definitions for the frontends removing a great deal of unnecessary file inclusion and further isolates the fronted API usage from the core
Diffstat (limited to 'desktop/netsurf.h')
-rw-r--r--desktop/netsurf.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/desktop/netsurf.h b/desktop/netsurf.h
index 45a445747..3ce8f3bab 100644
--- a/desktop/netsurf.h
+++ b/desktop/netsurf.h
@@ -16,18 +16,24 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+/**
+ * \file
+ *
+ * NetSurf core interface registration, construction and destruction.
+ */
+
#ifndef _NETSURF_DESKTOP_NETSURF_H_
#define _NETSURF_DESKTOP_NETSURF_H_
#include "utils/errors.h"
-
-struct netsurf_table;
+#include "desktop/gui_table.h"
/**
* Register operation table.
*
* @param table NetSurf operations table.
- * @return NSERROR_OK on success or error code on faliure.
+ * @return NSERROR_OK on success or error code on faliure. On faliure
+ * global table will not be initialised.
*/
nserror netsurf_register(struct netsurf_table *table);