mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-01-13 11:15:27 +00:00
Make timed-thread a lib, rename files.
This commit is contained in:
parent
b7028cb9e5
commit
002685c0ce
@ -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
|
||||
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
|
||||
user.c)
|
||||
|
||||
# add timed thread library
|
||||
add_library(timed-thread timed-thread.cc)
|
||||
set(conky_libs ${conky_libs} timed-thread)
|
||||
|
||||
# Platform specific sources
|
||||
if(OS_LINUX)
|
||||
set(linux linux.cc users.cc sony.c i8k.cc)
|
||||
|
@ -25,7 +25,7 @@
|
||||
#ifndef AUDACIOUS_H
|
||||
#define AUDACIOUS_H
|
||||
|
||||
#include "timed_thread.h"
|
||||
#include "timed-thread.h"
|
||||
|
||||
enum _audacious_items {
|
||||
AUDACIOUS_STATUS = 0,
|
||||
|
@ -27,7 +27,7 @@
|
||||
#define _CURL_THREAD_H_
|
||||
|
||||
#include <list>
|
||||
#include "timed_thread.h"
|
||||
#include "timed-thread.h"
|
||||
|
||||
/* curl thread lib exports begin */
|
||||
|
||||
|
@ -32,7 +32,7 @@
|
||||
#include "text_object.h"
|
||||
#include "conky.h"
|
||||
#include "common.h"
|
||||
#include "timed_thread.h"
|
||||
#include "timed-thread.h"
|
||||
#include <stdarg.h>
|
||||
#include <cmath>
|
||||
#include <ctime>
|
||||
|
@ -33,7 +33,7 @@
|
||||
#include "logging.h"
|
||||
#include "specials.h"
|
||||
#include "text_object.h"
|
||||
#include "timed_thread.h"
|
||||
#include "timed-thread.h"
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/wait.h>
|
||||
|
@ -33,7 +33,7 @@
|
||||
#include "common.h"
|
||||
#include "logging.h"
|
||||
#include "text_object.h"
|
||||
#include "timed_thread.h"
|
||||
#include "timed-thread.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdio.h>
|
||||
|
@ -24,7 +24,7 @@
|
||||
#include "conky.h"
|
||||
#include "logging.h"
|
||||
#include "text_object.h"
|
||||
#include "timed_thread.h"
|
||||
#include "timed-thread.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -30,7 +30,7 @@
|
||||
#include <mutex>
|
||||
#include "conky.h"
|
||||
#include "logging.h"
|
||||
#include "timed_thread.h"
|
||||
#include "timed-thread.h"
|
||||
#include "timeinfo.h"
|
||||
#include "libmpdclient.h"
|
||||
#include "mpd.h"
|
||||
|
@ -36,7 +36,7 @@
|
||||
#include <stdio.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
#include "timed_thread.h"
|
||||
#include "timed-thread.h"
|
||||
#include "logging.h"
|
||||
|
||||
/* Abstraction layer for timed threads */
|
Loading…
Reference in New Issue
Block a user