KeePass.zip
KeePass.chm
KeePass.exe
KeePass_Src.zip
Build
Docs
Ext
Icons
Finals
key-blu.png
key-bw.png
key-grn.ico
key-grn.png
plock.ico
plock.png
plockb.png
plock-blu.ico
plock-blu.png
plockbw.png
plock-bw.png
plockbw-r.png
plock-dis.ico
plock-grn.ico
plock-grn.png
Untitled.ico
Finals2
plock.ico
plockb.ico
plock-blu.ico
plock-dis.ico
keyhole-grn.ico
key-org.ico
lockblue.ico
lockgreen.ico
lockred.ico
lockyellow.ico
plockb.ico
plockb2.ico
plockbw.ico
plockg.ico
plocko.ico
plockr.ico
plocky.ico
KeePass.ini
KeePass.iss
KeePassMsi
KeePassMsi.vdproj
KeePassLibC
KeePassAPI
KeePassLib.def
res
KeePassLibCpp
Crypto
SHA2
DataExchange
Details
IO
PasswordGenerator
SDK
Details
SysSpec_Windows
Util
WinGUI
NewGUI
TaskbarListEx
TaskDialog
VistaMenu
Plugins
res
autotype.bmp
cancel.bmp
clienticex.bmp
clock.bmp
disk.bmp
document.bmp
entry_ed.ico
file.bmp
help_sma.bmp
help_smp.bmp
iconpic.ico
infoicon.bmp
infoiconex.bmp
key.ico
key_smal.bmp
keyhole.ico
language.bmp
lock_ovr.ico
locked.ico
mouse_sm.bmp
ok.bmp
optionicex.bmp
options.ico
plugins.ico
PwSafe.ico
random_b.bmp
randomke.bmp
search.ico
tb_about.bmp
tb_adden.bmp
tb_copyp.bmp
tb_copyu.bmp
tb_defau.bmp
tb_delet.bmp
tb_edite.bmp
tb_find.bmp
tb_lock.bmp
tb_new.bmp
tb_open.bmp
tb_save.bmp
tb_save1.bmp
tb_saved.bmp
toolssma.bmp
unlocked.ico
winprops.bmp
world.ico
Util
CmdLine
SprEngine
|
/*
KeePass Password Safe - The Open-Source Password Manager
Copyright (C) 2003-2013 Dominik Reichl <dominik.reichl@t-online.de>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program 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 General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef ___PW_IMPORT_H___
#define ___PW_IMPORT_H___
#pragma once
#include "../PwManager.h"
#include "../SysDefEx.h"
#include <boost/utility.hpp>
// CodeWallet definitions
#define DEF_CW_CATEGORY _T("----------------------------------------")
#define DEF_CW_CATEGORY_NEW _T("*---------------------------------------------------")
// Personal Vault definitions
#define DEF_PV_SEPENTRY _T("----------------------")
#define DEF_PV_CATEGORY _T("************")
class CPwImport : boost::noncopyable
{
public:
CPwImport();
virtual ~CPwImport();
DWORD ImportCsvToDb(const TCHAR *pszFile, CPwManager *pMgr, DWORD dwGroupId);
BOOL ImportCWalletToDb(const TCHAR *pszFile, CPwManager *pMgr);
BOOL ImportPwSafeToDb(const TCHAR *pszFile, CPwManager *pMgr);
BOOL ImportPVaultToDb(const TCHAR *pszFile, CPwManager *pMgr);
static char *FileToMemory(const TCHAR *pszFile, unsigned long *pFileSize);
private:
void _AddStringStreamToDb(const char *pStream, unsigned long uStreamSize, BOOL bUTF8);
unsigned long _GetPreferredIcon(LPCTSTR pszGroup);
CPwManager *m_pLastMgr;
DWORD m_dwLastGroupId;
};
#endif
|
By viewing downloads associated with this article you agree to the Terms of use and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Dominik started programming in Omikron Basic, a programming language for the good old Atari ST. After this, there was some short period of QBasic programming on the PC, but soon he began learning C++, which is his favorite language up to now.
Today, his programming experience includes C / C++ / [Visual] C++ [MFC], C#/.NET, Java, JavaScript, PHP and HTML and the basics of pure assembler.
He is interested in almost everything that has to do with computing, his special interests are security and data compression.
You can find his latest freeware, open-source projects and all articles on his homepage:
http://www.dominik-reichl.de/