From: akashihi Date: Tue, 30 Mar 2010 11:57:33 +0000 (+0000) Subject: Fix:core:Made command.h c++ friendly X-Git-Tag: navit-0.5.0.5194svn~2088 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a707a0ba08864a92591ac951c7df99177c2a765d;p=profile%2Fivi%2Fnavit.git Fix:core:Made command.h c++ friendly git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@3103 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- diff --git a/navit/navit/command.h b/navit/navit/command.h index 78b5214..bf86e2e 100644 --- a/navit/navit/command.h +++ b/navit/navit/command.h @@ -1,3 +1,28 @@ +/** + * Navit, a modular navigation system. + * Copyright (C) 2005-2010 Navit Team + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * version 2 as published by the Free Software Foundation. + * + * 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 NAVIT_COMMAND_H +#define NAVIT_COMMAND_H + +#ifdef __cplusplus +extern "C" { +#endif struct command_table { char *command; @@ -26,3 +51,8 @@ int command_saved_error(struct command_saved *cs); struct command_saved *command_saved_new(char *command, struct navit *navit, struct callback *cb); void command_saved_destroy(struct command_saved *cs); /* end of prototypes */ +#ifdef __cplusplus +} +#endif + + #endif /* NAVIT_COMMAND_H */