Source refactoring; no functional changes.
This commit is contained in:
parent
b174130c91
commit
332fdba0bd
20 changed files with 1806 additions and 1440 deletions
28
variable.h
Normal file
28
variable.h
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
/*
|
||||
* TTS - track your time.
|
||||
* Copyright (c) 2012-2014 Felicity Tarnell.
|
||||
*
|
||||
* Permission is granted to anyone to use this software for any purpose,
|
||||
* including commercial applications, and to alter it and redistribute it
|
||||
* freely. This software is provided 'as-is', without any express or implied
|
||||
* warranty.
|
||||
*/
|
||||
|
||||
#ifndef TTS_VARIABLE_H
|
||||
#define TTS_VARIABLE_H
|
||||
|
||||
#include "wide.h"
|
||||
|
||||
typedef struct variable {
|
||||
WCHAR const *va_name;
|
||||
int va_type;
|
||||
void *va_addr;
|
||||
} variable_t;
|
||||
|
||||
#define VTYPE_INT 1
|
||||
#define VTYPE_BOOL 2
|
||||
#define VTYPE_STRING 3
|
||||
|
||||
variable_t *find_variable(const WCHAR *name);
|
||||
|
||||
#endif /* !TTS_VARIABLE_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue