/* EasyPLX beta version, third version Licensed under GNU GPL Copyleft Olle Bergkvist 2007 www.olle.tk e-mail: olle dot bergvist at yahoo dot se */ #define VERSION "BETA, third version, 2007-04-13" #define MAXNUM 255 #define MAXLENGTH 1023 #define MAXFILELENGTH 32767 #define MAXMEM 32767 #define ERROR_INTERNAL 1 #define ERROR_CMD 2 #define ERROR_OUT 3 #define ERROR_IN 4 #define ERROR_NO_FILES 5 #define ERROR_PLX 6 #define ERROR_COPY 7 #define OUT_DIR_DEFAULT "?:\\Playlists\\" #define JFU_JTH_DIR_DEFAULT "?:\\System\\Pictures\\" #define FILE_EXT ".plx" #define JFU_EXT ".jfu" #define JTH_EXT ".jth" #define HELP_HEADER "\ EasyPLX\n\ " #define HELP_MAIN "\ \n\ Licensed under GNU GPL\n\ Copyright 2007 Olle Bergkvist\n\ www.olle.tk\n\ \n\ This program is free software; you can redistribute it and/or modify\n\ it under the terms of the GNU General Public License as published by\n\ the Free Software Foundation; either version 2 of the License, or\n\ (at your option) any later version.\n\ \n\ This program is distributed in the hope that it will be useful,\n\ but WITHOUT ANY WARRANTY; without even the implied warranty of\n\ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n\ GNU General Public License for more details.\n\ \n\ You should have received a copy of the GNU General Public License along\n\ with this program; if not, write to the Free Software Foundation, Inc.,\n\ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\n\ \n\ For more info see the source code. \n\ " #define HELP_HOWTO "\ This is a short overview over the basic usage. \n\ For more information, see the file README.TXT. \n\ \n\ 1. First, click on the upper Browse... button. \n\ Select the pictures you want to copy to your iriver. \n\ \n\ 2. If you want to copy more pictures, repeat step 1. \n\ \n\ 3. Then, enter a name for the picture list. Write in the textbox to the right. \n\ \n\ 4. Last, click on Continue!\n\ " #define INI_SUFFIX "\ This is the INI file for EasyPLX version 3.\n\ Line 1 is PLX output directory. \n\ Line 2 is PLX file extension. \n\ Line 3 is JFU and JTH output directory. \n\ Line 4 is JFU file extension. \n\ Line 5 is JTH file extension. \n\ " #define btnok 1 #define btnesc 2 #define btnpic 3 #define btnm3u 4 #define btnabout 5 #define btnpicroot 6 #define btnm3uroot 7 #define btnm3uloc 8 #define btnrestart 9 #define btnplxdir 91 #define btnjfujthdir 92 #define btnjth 93 #define btnclear 95 #define btnsettings 96 #define btnhelp 97 #define editpic 10 #define editm3u 11 #define editpath 12 #define editname 13 #define editext 14 #define editpicroot 15 #define editm3uroot 16 #define editm3uloc 17 #define editletter 18 #define editjfujthpath 101 #define editjfuext 102 #define editjthext 103 #define statpicroot 20 #define statm3uroot 21 #define statpath 22 #define statname 23 #define statext 24 #define statm3uloc 25 #define statletter 26 #define statjfujthpath 201 #define statjfuext 202 #define statjthext 203 #define grppic 31 #define grpm3u 32 #define grpplx 33 #define checkjfujth 41 #define btnsizex 60 #define btnsizey 30 #define rightcordx 380 #define midcordx 280 //main.c prototypes int searchfordrive(HWND hwnd); int maintask(HWND hwnd); int quit(HWND hwnd); int restart(HWND hwnd); int about(HWND hwnd); int getpicfilename(HWND hwnd); int getm3ufilename(HWND hwnd); int getroot(HWND hwnd, int objectid); int readini(HWND hwnd); int writeini(HWND hwnd); int deleteini(HWND hwnd); int showinimain(HWND hwnd); int showiniset(HWND hwnd); int saveset(HWND hwnd); int help(HWND hwnd); //builtins.c prototypes int makeplx(char * buffer, char * entryptrs[], int entrylength[], char entrycount); int mystrcopy (char * to, char * from); int mystrcat (char * to, char * from); int mystrlen (char * from); int makeutf(char * to, char * from); int noutf(char * to, char * from);