1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2025-01-27 17:18:33 +00:00

Make timed-thread a lib, rename files.

This commit is contained in:
Brenden Matthews 2010-01-13 10:52:35 -08:00
parent b7028cb9e5
commit 002685c0ce
10 changed files with 13 additions and 9 deletions

View File

@ -36,10 +36,14 @@ endif(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/build.h)
set(conky_sources colours.cc combine.cc common.cc conky.cc core.cc set(conky_sources colours.cc combine.cc common.cc conky.cc core.cc
diskio.cc entropy.cc exec.cc fs.cc mail.cc mixer.cc net_stat.cc template.c diskio.cc entropy.cc exec.cc fs.cc mail.cc mixer.cc net_stat.cc template.c
timed_thread.cc mboxscan.c read_tcp.c scroll.cc specials.cc tailhead.cc mboxscan.c read_tcp.c scroll.cc specials.cc tailhead.cc
temphelper.cc text_object.c timeinfo.c top.cc algebra.c prioqueue.c proc.c temphelper.cc text_object.c timeinfo.c top.cc algebra.c prioqueue.c proc.c
user.c) user.c)
# add timed thread library
add_library(timed-thread timed-thread.cc)
set(conky_libs ${conky_libs} timed-thread)
# Platform specific sources # Platform specific sources
if(OS_LINUX) if(OS_LINUX)
set(linux linux.cc users.cc sony.c i8k.cc) set(linux linux.cc users.cc sony.c i8k.cc)

View File

@ -25,7 +25,7 @@
#ifndef AUDACIOUS_H #ifndef AUDACIOUS_H
#define AUDACIOUS_H #define AUDACIOUS_H
#include "timed_thread.h" #include "timed-thread.h"
enum _audacious_items { enum _audacious_items {
AUDACIOUS_STATUS = 0, AUDACIOUS_STATUS = 0,

View File

@ -27,7 +27,7 @@
#define _CURL_THREAD_H_ #define _CURL_THREAD_H_
#include <list> #include <list>
#include "timed_thread.h" #include "timed-thread.h"
/* curl thread lib exports begin */ /* curl thread lib exports begin */

View File

@ -32,7 +32,7 @@
#include "text_object.h" #include "text_object.h"
#include "conky.h" #include "conky.h"
#include "common.h" #include "common.h"
#include "timed_thread.h" #include "timed-thread.h"
#include <stdarg.h> #include <stdarg.h>
#include <cmath> #include <cmath>
#include <ctime> #include <ctime>

View File

@ -33,7 +33,7 @@
#include "logging.h" #include "logging.h"
#include "specials.h" #include "specials.h"
#include "text_object.h" #include "text_object.h"
#include "timed_thread.h" #include "timed-thread.h"
#include <stdio.h> #include <stdio.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/wait.h> #include <sys/wait.h>

View File

@ -33,7 +33,7 @@
#include "common.h" #include "common.h"
#include "logging.h" #include "logging.h"
#include "text_object.h" #include "text_object.h"
#include "timed_thread.h" #include "timed-thread.h"
#include <errno.h> #include <errno.h>
#include <stdio.h> #include <stdio.h>

View File

@ -24,7 +24,7 @@
#include "conky.h" #include "conky.h"
#include "logging.h" #include "logging.h"
#include "text_object.h" #include "text_object.h"
#include "timed_thread.h" #include "timed-thread.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>

View File

@ -30,7 +30,7 @@
#include <mutex> #include <mutex>
#include "conky.h" #include "conky.h"
#include "logging.h" #include "logging.h"
#include "timed_thread.h" #include "timed-thread.h"
#include "timeinfo.h" #include "timeinfo.h"
#include "libmpdclient.h" #include "libmpdclient.h"
#include "mpd.h" #include "mpd.h"

View File

@ -36,7 +36,7 @@
#include <stdio.h> #include <stdio.h>
#include <time.h> #include <time.h>
#include <unistd.h> #include <unistd.h>
#include "timed_thread.h" #include "timed-thread.h"
#include "logging.h" #include "logging.h"
/* Abstraction layer for timed threads */ /* Abstraction layer for timed threads */