DateTime: refactor directory structures

This commit is contained in:
李通洲
2023-02-14 17:49:23 +08:00
parent 6407bf6a1f
commit 47be29b89c
6 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -234,7 +234,7 @@ set(LIBFASTFETCH_SRC
src/detection/bluetooth/bluetooth.c
src/detection/cpu/cpu.c
src/detection/cpuUsage/cpuUsage.c
src/detection/datetime.c
src/detection/datetime/datetime.c
src/detection/disk/disk.c
src/detection/displayserver/displayserver.c
src/detection/font/font.c
@@ -1,5 +1,5 @@
#include "fastfetch.h"
#include "detection/datetime.h"
#include "detection/datetime/datetime.h"
#include "common/thread.h"
#include <time.h>
@@ -1,7 +1,7 @@
#pragma once
#ifndef FF_INCLUDED_detection_datetime
#define FF_INCLUDED_detection_datetime
#ifndef FF_INCLUDED_detection_datetime_datetime
#define FF_INCLUDED_detection_datetime_datetime
#include "fastfetch.h"
+1 -1
View File
@@ -1,6 +1,6 @@
#include "fastfetch.h"
#include "common/printing.h"
#include "detection/datetime.h"
#include "detection/datetime/datetime.h"
#define FF_DATE_MODULE_NAME "Date"
+1 -1
View File
@@ -1,6 +1,6 @@
#include "fastfetch.h"
#include "common/printing.h"
#include "detection/datetime.h"
#include "detection/datetime/datetime.h"
#define FF_DATETIME_MODULE_NAME "Date & Time"
#define FF_DATETIME_NUM_FORMAT_ARGS 20
+1 -1
View File
@@ -1,6 +1,6 @@
#include "fastfetch.h"
#include "common/printing.h"
#include "detection/datetime.h"
#include "detection/datetime/datetime.h"
#define FF_TIME_MODULE_NAME "Time"