NOTIFY_FIELD_LENGTH and notify_app_s structure updated
This commit is contained in:
parent
9e7c35ce79
commit
66ef9b834a
@ -1,4 +1,4 @@
|
|||||||
/* $calcurse: notify.h,v 1.4 2006/09/15 15:46:09 culot Exp $ */
|
/* $calcurse: notify.h,v 1.5 2006/09/16 15:25:11 culot Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Calcurse - text-based organizer
|
* Calcurse - text-based organizer
|
||||||
@ -30,10 +30,11 @@
|
|||||||
#include <ncurses.h>
|
#include <ncurses.h>
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
|
|
||||||
|
#include "vars.h"
|
||||||
#include "apoint.h"
|
#include "apoint.h"
|
||||||
#include "recur.h"
|
#include "recur.h"
|
||||||
|
|
||||||
#define NOTIFY_FIELD_LENGTH 20
|
#define NOTIFY_FIELD_LENGTH 25
|
||||||
|
|
||||||
struct notify_vars_s {
|
struct notify_vars_s {
|
||||||
WINDOW *win;
|
WINDOW *win;
|
||||||
@ -46,8 +47,8 @@ struct notify_vars_s {
|
|||||||
|
|
||||||
struct notify_app_s {
|
struct notify_app_s {
|
||||||
long time;
|
long time;
|
||||||
char txt[NOTIFY_FIELD_LENGTH];
|
|
||||||
int got_app;
|
int got_app;
|
||||||
|
char *txt;
|
||||||
pthread_mutex_t mutex;
|
pthread_mutex_t mutex;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user