From: <ny...@us...> - 2007-05-12 01:28:20
|
Revision: 407 http://svn.sourceforge.net/pmplib/?rev=407&view=rev Author: nyaochi Date: 2007-05-11 18:28:22 -0700 (Fri, 11 May 2007) Log Message: ----------- Added a missing file. Added Paths: ----------- trunk/pmplib/lib/pmp_ipod/status.h Added: trunk/pmplib/lib/pmp_ipod/status.h =================================================================== --- trunk/pmplib/lib/pmp_ipod/status.h (rev 0) +++ trunk/pmplib/lib/pmp_ipod/status.h 2007-05-12 01:28:22 UTC (rev 407) @@ -0,0 +1,51 @@ +/* + * Status/error handling. + * + * Copyright (c) 2005-2007 Naoaki Okazaki + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + */ + +/* $Id:$ */ + +#ifndef __STATUS_H__ +#define __STATUS_H__ + +enum { + IPODS_SUCCESS = 0, + IPODS_OUTOFLIMITTER, + IPODC_NONE = 0x00010000, + IPODC_ITUNESDB, + IPODC_PLAYCOUNTS, + IPODE_ERROR = 0x01000000, + IPODE_OUTOFMEMORY, + IPODE_OUTOFBUFFER, + IPODE_FILEOPENFORREAD, + IPODE_FILEOPENFORWRITE, + IPODE_FILEREADERROR, + IPODE_FILEWRITEERROR, + IPODE_FILESEEKERROR, + IPODE_UNKNOWNCHUNK, + IPODE_UNKNOWNSUBTYPE, + IPODE_FAILEDNEWCHUNK, + IPODE_INCOMPATIBLECHUNK, + IPODE_MHBDNOTFOUND, + IPODE_DEVICEINFO, +}; + +#define IPODFAILED(x) ((x) >= IPODE_ERROR) + +#endif/*__STATUS_H__*/ \ No newline at end of file Property changes on: trunk/pmplib/lib/pmp_ipod/status.h ___________________________________________________________________ Name: svn:keywords + Id Name: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |