X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=src%2Fwmnotify.h;h=c701f0159cc3f59504fe4970bc22c156a509ad5c;hb=8069b799acd017ea32510fb977a7a42f5a747c6c;hp=0588e9736649ee719cc4a8e50fbc3df668b555f9;hpb=614fdbc3f0bd7672ed0d61ad0912e18dfc12afe6;p=dockapps%2Fwmnotify.git diff --git a/src/wmnotify.h b/src/wmnotify.h index 0588e97..c701f01 100644 --- a/src/wmnotify.h +++ b/src/wmnotify.h @@ -3,19 +3,7 @@ * * Copyright (C) 2003 Hugo Villeneuve * - * 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 St, Fifth Floor, Boston, MA 02110-1301, USA. + * This file is released under the GPLv2 */ #ifndef WMNOTIFY_H @@ -36,15 +24,24 @@ #define MAILBOX_CLOSED_SRC_X 64 #define MAILBOX_CLOSED_SRC_Y 4 -/* Source coordinates in global pixmap for the opened and empty mailbox image. */ +/* + * Source coordinates in global pixmap for the opened and empty mailbox + * image. + */ #define MAILBOX_OPENED_EMPTY_SRC_X 64 #define MAILBOX_OPENED_EMPTY_SRC_Y 64 -/* Source coordinates in global pixmap for the opened and full mailbox image. */ +/* + * Source coordinates in global pixmap for the opened and full mailbox + * image. + */ #define MAILBOX_OPENED_FULL_SRC_X 4 #define MAILBOX_OPENED_FULL_SRC_Y 64 -/* Source coordinates in global pixmap for the opened and full mailbox image. */ +/* + * Source coordinates in global pixmap for the opened and full mailbox + * image. + */ #define EXEC_CMD_IMG_SRC_X 124 #define EXEC_CMD_IMG_SRC_Y 4 @@ -60,26 +57,23 @@ #define MAX_STR_LEN 256 -struct wmnotify_t -{ - bool debug; - char *display_arg; - char *geometry_arg; - char *optional_config_file; - char mail_client_command[512]; - char *mail_client_argv[ARGV_LIMIT]; - unsigned int mail_check_interval; /* In seconds. */ - bool audible_notification; - char audiofile[512]; - int volume; - int protocol; - char imap_folder[MAX_STR_LEN]; - bool use_ssl; - char server_name[MAX_STR_LEN]; - int port; - char username[MAX_STR_LEN]; - char password[MAX_STR_LEN]; - int sock_fd; +struct wmnotify_t { + bool debug; + char *optional_config_file; + char mail_client_command[512]; + char *mail_client_argv[ARGV_LIMIT]; + unsigned int mail_check_interval; /* In seconds. */ + bool audible_notification; + char audiofile[512]; + int volume; + int protocol; + char imap_folder[MAX_STR_LEN]; + bool use_ssl; + char server_name[MAX_STR_LEN]; + int port; + char username[MAX_STR_LEN]; + char password[MAX_STR_LEN]; + int sock_fd; }; /* Exported variables */