Changeset 371 for trunk/include


Ignore:
Timestamp:
Nov 7, 2008, 1:15:15 AM (17 years ago)
Author:
pr
Message:

Add missing xprf() functions. Fix broken ones also.

Location:
trunk/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/cppbase/bs_logger.h

    r342 r371  
    1212
    1313/*
    14  *      This file Copyright (C) 1999-2006 Ulrich M”ller.
     14 *      This file Copyright (C) 1999-2008 Ulrich M”ller.
    1515 *      This program is free software; you can redistribute it and/or modify
    1616 *      it under the terms of the GNU General Public License as published by
     
    9292     *@@changed V0.9.20 (2002-07-22) [umoeller]: added copy constructor to avoid flat copy
    9393     *@@changed WarpIN V1.0.10 (2006-04-05) [pr]: added Clear method
     94     *@@changed WarpIN V1.0.18 (2008-10-06) [pr]: added Store(PXINI...) and Load(PXINI...)
    9495     */
    9596
     
    117118
    118119            BOOL Store(HINI hini, const char *pszApp, const char *pszKey) const;
     120            BOOL Store(PXINI pXIni, const char *pszApp, const char *pszKey) const;
    119121            BOOL Load(HINI hini, const char *pszApp, const char *pszKey);
     122            BOOL Load(PXINI pXIni, const char *pszApp, const char *pszKey);
    120123    };
    121124
  • trunk/include/helpers/xprf.h

    r229 r371  
    1414 */
    1515
    16 /*      Copyright (C) 2000 Ulrich M”ller.
     16/*      Copyright (C) 2000-2008 Ulrich M”ller.
    1717 *      This file is part of the "XWorkplace helpers" source package.
    1818 *      This is free software; you can redistribute it and/or modify
     
    168168    #endif
    169169
    170     APIRET xprfOpenProfile(const char *pcszFilename,
     170    APIRET xprfOpenProfile(PCSZ pcszFilename,
    171171                           PXINI *ppxini);
    172172
     
    184184                                PULONG pulBufferMax);
    185185
     186    LONG xprfQueryProfileInt(PXINI pXIni,
     187                             PCSZ pcszApp,
     188                             PCSZ pcszKey,
     189                             LONG lDefault);
     190
    186191    APIRET xprfWriteProfileData(PXINI hIni,
    187                                 const char *pcszApp,
    188                                 const char *pcszKey,
     192                                PCSZ pcszApp,
     193                                PCSZ pcszKey,
    189194                                PVOID pData,
    190195                                ULONG ulDataLen);
     196
     197    APIRET xprfWriteProfileString(PXINI pXIni,
     198                                  PCSZ pcszApp,
     199                                  PCSZ pcszKey,
     200                                  PCSZ pcszString);
    191201
    192202    APIRET xprfQueryKeysForApp(PXINI hIni,
    193203                               PCSZ pcszApp,
    194204                               PSZ *ppszKeys);
     205
     206    PSZ xprfhQueryProfileData(PXINI pXIni,
     207                              PCSZ pcszApp,
     208                              PCSZ pcszKey,
     209                              PULONG pcbBuf);
    195210
    196211    /* ******************************************************************
Note: See TracChangeset for help on using the changeset viewer.