AminetAminet
Search:
84716 packages online
About
Recent
Browse
Search
Upload
Setup
Services

util/time/Daysleeper_0-9-3.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Shutdown/reboot at specified time
Author:r-tea amiga pl (Artur r-tea Ostrowski)
Uploader:r-tea amiga pl (Artur r-tea Ostrowski)
Type:util/time
Version:0.9.3
Architecture:ppc-morphos
Distribution:Aminet
Date:2017-08-20
Download:http://aminet.net/util/time/Daysleeper_0-9-3.lha - View contents
Readme:http://aminet.net/util/time/Daysleeper_0-9-3.readme
Downloads:917

Once upon a time my wife's brother told me he got a nice little proggy
which shuts down his computer (with Windows) while he watches a film, he got
asleep and the film ends. I answered I don't have such a programm but I can
create similar thing.
And that was the purpose of creating this little clock / time utility.
The second (and maybe more important) reason for which I created this program
was that I love MUI as an user and as a "sunday programmer" :-) I consider
MUI API as really cool and easy to use for not very experienced programmers
like me. And I consider MUI GUI and all MUI's environment (from an user point
of view) as the best environment one's ever seen.
A long time had elapsed since my last attempts of programming, so it was a good
opportunity to start it again :-)

Now facts:

Program was compiled on MorphOS 3.9 (MUI 5 debug) with GCC compiler,

Source, with lots of comments, included.

NOTE FOR USERS!
Please, DO NOT iconify the program while active. It has a bug that I can't
overcome with my skills. If you iconify it while it's activated it's simply
stop "ticking" and become useless.

NOTE ABOUT A COURCE CODE!
This is not good exapmle of building proper MUI application. In fact this is
the worst example of it :-) I used the main MUI loop and put there all
the program handling events. This is the easiest way for "sunday programmers"
but remember: the worst way to buid a serious MUI application, thus consider it
as an example for very beginners.

Feel free to distribute the source code, share with it, do any changes as well
as copy all or parts of it. Just play with it and see how brilliant is MUI :-)

Please, let me know if you found it useful in any way, either if you have any
suggestions or comments. Would be nice to receive a grab of Daysleeper window
with your MUI's favourite prefs :-)

For those who want to play with my lame code :-)
This is the command line string I used to compile the source:


For GCC compiler:
gcc -noixemul -o executable sourcecode

-noixemul	  compiler uses libnix.library instead of ixemul.library.
		  It makes output code much bigger but saves system recources -
		  memory, disk operation etc.
executable	  is the name of output code
souurcecode	  is your program source code (with path if you need)


For VBCC compiler:
vc exec -+ -lauto -lmieee -o myprogram

some explanatios:

exec	   name of output code
-+		   to make use of C++ like comments
-lauto	   don't know what for but needed :-)
-lmieee	   to make use of mathematical standard ANSI C libs
-o 		   your program source code (with path if you need)


MUI's author: Stefan Stuntz. Further developing by MorphOS Team.
Amiga VBCC author: Frank Wille
The clock icon comes from Aminet, from Alpyreicons1 set by Alper Sonmez.
All other icons come from Aminet as well.

HISTORY / CHANGE LOG
====================

2013-11-20; v0.9;
The first release;

2014-01-22; v0.9.2; 
Added nice icon and Appicon support;

2017-08-20; v0.9.3;
Added screen title
In Countdown mode program delays decreasing minutes counter (fixed)


Contents of util/time/Daysleeper_0-9-3.lha
PERMISSION  UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP     NAME
---------- ----------- ------- ------- ------ ---------- ------------ ----------
[generic]                 2079    2813  73.9% -lh5- 6c94 Aug 20 00:47 Daysleeper_0-9-3.info
[generic]                22754   57996  39.2% -lh5- 8be6 Aug 20 00:44 Daysleeper_0-9-3/Daysleeper
[generic]                 7871    8070  97.5% -lh5- f99e Aug 20 00:48 Daysleeper_0-9-3/Daysleeper.info
[generic]                39320   39320 100.0% -lh0- 7d29 Oct 12  2013 Daysleeper_0-9-3/Daysleeper.png
[generic]                 1685    3295  51.1% -lh5- 8874 Aug 20 01:14 Daysleeper_0-9-3/Daysleeper.readme
[generic]                 4018   13627  29.5% -lh5- 424c Aug 20 00:42 Daysleeper_0-9-3/Daysleeper_2017-08-20.c
---------- ----------- ------- ------- ------ ---------- ------------ ----------
 Total         6 files   77727  125121  62.1%            Aug 20 22:52

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>