[xplc-cvs] xplc/include/xplc IUuidGen.h,NONE,1.1 core.h,1.4,1.5
Cross-platform lightweight components
Status: Alpha
Brought to you by:
pphaneuf
From: Pierre P. <pph...@us...> - 2005-12-20 02:28:57
|
Update of /cvsroot/xplc/xplc/include/xplc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1060/include/xplc Modified Files: core.h Added Files: IUuidGen.h Log Message: Added a component to programmatically generate UUIDs. Index: core.h =================================================================== RCS file: /cvsroot/xplc/xplc/include/xplc/core.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** core.h 20 Jul 2004 14:35:44 -0000 1.4 --- core.h 20 Dec 2005 02:28:49 -0000 1.5 *************** *** 2,6 **** * * XPLC - Cross-Platform Lightweight Components ! * Copyright (C) 2002, Net Integration Technologies, Inc. * Copyright (C) 2004, Pierre Phaneuf * --- 2,6 ---- * * XPLC - Cross-Platform Lightweight Components ! * Copyright (C) 2002-2005, Net Integration Technologies, Inc. * Copyright (C) 2004, Pierre Phaneuf * *************** *** 56,58 **** --- 56,62 ---- 0x1d, 0x65, 0x9e, 0x20}}; + static const UUID XPLC_uuidGen = {0x8675c53e, 0x9048, 0x4d93, + {0xa0, 0xab, 0x89, 0x80, + 0x32, 0xa9, 0x74, 0x72}}; + #endif /* __XPLC_CORE_H__ */ --- NEW FILE: IUuidGen.h --- /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- * * XPLC - Cross-Platform Lightweight Components * Copyright (C) 2005, Net Integration Technologies, Inc. * * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * USA */ #ifndef __XPLC_IUUIDGEN_H__ #define __XPLC_IUUIDGEN_H__ #if defined(__GNUC__) && __GNUC__ > 3 # pragma GCC system_header #endif #include <xplc/IObject.h> /** \interface IUuidGen IUuidGen.h xplc/IUuidGen.h * * An interface that let you generate UUIDs programmatically. */ class IUuidGen: public IObject { UNSTABLE_INTERFACE public: virtual UUID createUuid() = 0; }; DEFINE_IID(IUuidGen, {0xf0f68999, 0x137e, 0x4637, {0x86, 0x89, 0x64, 0x50, 0x99, 0xa8, 0xa0, 0x7b}}); #endif /* __XPLC_IUUIDGEN_H__ */ |