TempleOSCD_140715.ISO
This commit is contained in:
1 parent
7ef616a20e
commit
64f679eeb9
1095 files changed
+24814
-221011
No files matched your search
@@ -1,6 +1,8 @@
|
||||
MkDir("HOME/TimeClock");
|
||||
DocClear;
|
||||
"After Loading, type $$GREEN$$PunchIn;$$FG$$, "
|
||||
"$$GREEN$$PunchOut;$$FG$$ or $$GREEN$$TimeRep;$$FG$$\n"
|
||||
"You might want to make PLUGINS for hot keys.\n\n\n";
|
||||
if (!FileFind("HOME/TimeClock",,FUF_JUST_DIRS)) {
|
||||
MkDir("HOME/TimeClock");
|
||||
DocClear;
|
||||
"After Loading, type $$GREEN$$PunchIn;$$FG$$, "
|
||||
"$$GREEN$$PunchOut;$$FG$$ or $$GREEN$$TimeRep;$$FG$$\n"
|
||||
"You might want to make PLUGINS for hot keys.\n\n\n";
|
||||
}
|
||||
|
||||
@@ -1 +1,6 @@
|
||||
#help_index "Misc"
|
||||
|
||||
#include "/Apps/TimeClock/TimeClk"
|
||||
#include "/Apps/TimeClock/Install" //Might as well always install
|
||||
|
||||
#help_index ""
|
||||
@@ -12,7 +12,6 @@ class TimeEntry
|
||||
U8 *desc;
|
||||
};
|
||||
|
||||
|
||||
U0 TimeFileRead(TimeEntry *header)
|
||||
{
|
||||
U8 *buf,*ptr;
|
||||
@@ -38,7 +37,7 @@ U0 TimeFileWrite(TimeEntry *header)
|
||||
{
|
||||
U8 *buf,*ptr;
|
||||
TimeEntry *tempt;
|
||||
I64 size=1; //for eof
|
||||
I64 size=1; //for EOF
|
||||
|
||||
tempt=header->next;
|
||||
while (tempt!=header) {
|
||||
@@ -127,7 +126,7 @@ public U0 PunchOut()
|
||||
tempt->type=TET_PUNCH_OUT;
|
||||
tempt->datetime=Now;
|
||||
"\nEnter Description.\nPress <ESC> when done.\n";
|
||||
if (!(tempt->desc=MGetS(GETSF_WITH_NEW_LINE)))
|
||||
if (!(tempt->desc=GetStr(,,GSF_WITH_NEW_LINE)))
|
||||
tempt->desc=CAlloc(1);
|
||||
QueIns(tempt,header->last);
|
||||
TimeFileWrite(header);
|
||||
@@ -147,7 +146,7 @@ public U0 PunchIn()
|
||||
tempt->type=TET_PUNCH_IN;
|
||||
tempt->datetime=Now;
|
||||
"\nEnter Description.\nPress <ESC> when done.\n";
|
||||
if (!(tempt->desc=MGetS(GETSF_WITH_NEW_LINE)))
|
||||
if (!(tempt->desc=GetStr(,,GSF_WITH_NEW_LINE)))
|
||||
tempt->desc=CAlloc(1);
|
||||
QueIns(tempt,header->last);
|
||||
TimeFileWrite(header);
|
||||
|
||||
Reference in new issue
Block a user