summaryrefslogtreecommitdiff
path: root/src/common/weechat.h
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2007-10-31 17:00:31 +0100
committerSebastien Helleu <flashcode@flashtux.org>2007-10-31 17:00:31 +0100
commiteb2835fa24d510a46f8616855624f7ac1ddd19b8 (patch)
tree558e2ea1916ea5873c166167bbdd493f2cdcc40b /src/common/weechat.h
parent7fd804eab584711da59aec59a84dbb3c5429c652 (diff)
downloadweechat-eb2835fa24d510a46f8616855624f7ac1ddd19b8.zip
Moved files from src/common to core, gui and plugins directories
Diffstat (limited to 'src/common/weechat.h')
-rw-r--r--src/common/weechat.h121
1 files changed, 0 insertions, 121 deletions
diff --git a/src/common/weechat.h b/src/common/weechat.h
deleted file mode 100644
index 34e95a50e..000000000
--- a/src/common/weechat.h
+++ /dev/null
@@ -1,121 +0,0 @@
-/*
- * Copyright (c) 2003-2007 by FlashCode <flashcode@flashtux.org>
- * See README for License detail, AUTHORS for developers list.
- *
- * 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 3 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, see <http://www.gnu.org/licenses/>.
- */
-
-
-#ifndef __WEECHAT_H
-#define __WEECHAT_H 1
-
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <stdio.h>
-#include <sys/time.h>
-
-#ifdef HAVE_GNUTLS
-#include <gnutls/gnutls.h>
-#endif
-
-#include <locale.h>
-
-#if defined(ENABLE_NLS) && !defined(_)
- #ifdef HAVE_LIBINTL_H
- #include <libintl.h>
- #else
- #include "../../intl/libintl.h"
- #endif
- #define _(string) gettext(string)
- #define NG_(single,plural,number) ngettext(single,plural,number)
- #ifdef gettext_noop
- #define N_(string) gettext_noop(string)
- #else
- #define N_(string) (string)
- #endif
-#endif
-#if !defined(_)
- #define _(string) (string)
- #define NG_(single,plural,number) (plural)
- #define N_(string) (string)
-#endif
-
-
-#define WEECHAT_COPYRIGHT_DATE "(c) 2003-2007"
-#define WEECHAT_WEBSITE "http://weechat.flashtux.org"
-
-#define WEECHAT_ERROR _("WeeChat Error:")
-#define WEECHAT_WARNING _("WeeChat Warning:")
-
-/* log file */
-
-#define WEECHAT_LOG_NAME "weechat.log"
-
-/* license */
-
-#define WEE_LICENSE \
- PACKAGE_STRING " (c) Copyright 2003-2007, compiled on " __DATE__ " " __TIME__ \
- "\nDeveloped by FlashCode <flashcode@flashtux.org> - " WEECHAT_WEBSITE "\n\n" \
- "This program is free software; you can redistribute it and/or modify\n" \
- "it under the terms of the GNU General Public License as published by\n" \
- "the Free Software Foundation; either version 3 of the License, or\n" \
- "(at your option) any later version.\n" \
- "\n", \
- \
- "This program is distributed in the hope that it will be useful,\n" \
- "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" \
- "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" \
- "GNU General Public License for more details.\n" \
- "\n" \
- "You should have received a copy of the GNU General Public License\n" \
- "along with this program. If not, see <http://www.gnu.org/licenses/>.\n\n"
-
-/* directory separator, depending on OS */
-
-#ifdef _WIN32
- #define DIR_SEPARATOR "\\"
- #define DIR_SEPARATOR_CHAR '\\'
-#else
- #define DIR_SEPARATOR "/"
- #define DIR_SEPARATOR_CHAR '/'
-#endif
-
-/* some systems (like GNU/Hurd) doesn't define PATH_MAX */
-
-#ifndef PATH_MAX
- #define PATH_MAX 4096
-#endif
-
-/* internal charset */
-
-#define WEECHAT_INTERNAL_CHARSET "UTF-8"
-
-/* global variables and functions */
-
-extern char *weechat_argv0;
-extern time_t weechat_start_time;
-extern int quit_weechat;
-extern char *weechat_home;
-extern char *local_charset;
-
-#ifdef HAVE_GNUTLS
-extern gnutls_certificate_credentials gnutls_xcred;
-#endif
-
-extern void weechat_dump (int);
-extern void weechat_shutdown (int, int);
-
-#endif /* weechat.h */