Not Logged In
|
Login
|
Register
Home
|
News
|
Projects
|
Releases
Bugs
|
RFE
|
Repositories
|
Help
projects
/
xestiaab
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed comments from ShowContactInfo in frmMain
[xestiaab/.git]
/
source
/
frmMain.cpp
diff --git
a/source/frmMain.cpp
b/source/frmMain.cpp
index
b2cd624
..
35b3d72
100644
(file)
--- a/
source/frmMain.cpp
+++ b/
source/frmMain.cpp
@@
-909,8
+909,6
@@
void frmMain::ShowContactInfo( wxListEvent& event )
long intSelected = -1;
long ContactSeekNum = -1;
long intSelected = -1;
long ContactSeekNum = -1;
- // intSelected = lstContacts->GetSelection();
-
// Check if several contacts have been selected.
int ContactTotal = 0;
// Check if several contacts have been selected.
int ContactTotal = 0;
@@
-1032,8
+1030,6
@@
void frmMain::ShowContactInfo( wxListEvent& event )
if (wxSPropertyNextLine.Mid(0, 1) == wxT(" ") || wxSPropertyNextLine.Mid(0, 1) == wxT("\t")){
wxSPropertyNextLine.Remove(0, 1);
if (wxSPropertyNextLine.Mid(0, 1) == wxT(" ") || wxSPropertyNextLine.Mid(0, 1) == wxT("\t")){
wxSPropertyNextLine.Remove(0, 1);
- //wxSPropertyNextLine.Trim(FALSE);
- //ContactLine.Trim();
ContactLine.Append(wxSPropertyNextLine);
} else {
ContactLine.Append(wxSPropertyNextLine);
} else {
@@
-1180,9
+1176,7
@@
void frmMain::ShowContactEditorEdit( wxCommandEvent& event )
long intSelected = -1;
long intContactSeekNum = -1;
long intSelected = -1;
long intContactSeekNum = -1;
-
- // intSelected = lstContacts->GetSelection();
-
+
intSelected = lstContacts->GetNextItem(intSelected,
wxLIST_NEXT_ALL,
wxLIST_STATE_SELECTED);
intSelected = lstContacts->GetNextItem(intSelected,
wxLIST_NEXT_ALL,
wxLIST_STATE_SELECTED);
@@
-1349,7
+1343,6
@@
void frmMain::OpenContactInfo( wxCommandEvent& event )
wxString setname, setvalue;
vCard Person;
wxString nextchar;
wxString setname, setvalue;
vCard Person;
wxString nextchar;
- //std::fstream vcardfile;
Person.LoadFile(uc->ContactFilename);
Person.LoadFile(uc->ContactFilename);
@@
-1429,12
+1422,6
@@
void frmMain::LoadPreferences(){
AccountSyncTimers.clear();
AccountSyncTimers.clear();
- /*
- for (int i = (preferences.accounts.GetCount() - 1); i > 0; --i){
- treAccounts->AppendItem(RootNode, preferences.accounts.GetAccountName(i));
- }
- */
-
wxString AccDir;
wxString AccDirFull;
wxString AccDirFullSfx;
wxString AccDir;
wxString AccDirFull;
wxString AccDirFullSfx;
@@
-1478,7
+1465,7
@@
void frmMain::LoadPreferences(){
if (preferences.accounts.GetAccountType(i) == wxT("CardDAV") ||
preferences.accounts.GetAccountType(i) == wxT("carddav")){
if (preferences.accounts.GetAccountType(i) == wxT("CardDAV") ||
preferences.accounts.GetAccountType(i) == wxT("carddav")){
- // Check if the directory exists before doing anything.
+ //
TODO:
Check if the directory exists before doing anything.
@@
-1514,8
+1501,7
@@
void frmMain::LoadPreferences(){
wxString vCardFilename;
wxString vCardDataString;
wxString vCardFilenameFull;
wxString vCardFilename;
wxString vCardDataString;
wxString vCardFilenameFull;
- //bool ProcFiles = FALSE;
-
+
bool ProcFiles = vcardaccdir.GetFirst(&vCardFilename, wxEmptyString, wxDIR_FILES);
while(ProcFiles){
bool ProcFiles = vcardaccdir.GetFirst(&vCardFilename, wxEmptyString, wxDIR_FILES);
while(ProcFiles){
@@
-1586,11
+1572,7
@@
void frmMain::ConflictResolution(wxCommandEvent& event){
vCardConflictObj *vCardConfObj = (vCardConflictObj*)event.GetClientData();
vCard *ClientDataPtr = vCardConfObj->vCardLocalData;
vCard *ServerDataPtr = vCardConfObj->vCardServerData;
vCardConflictObj *vCardConfObj = (vCardConflictObj*)event.GetClientData();
vCard *ClientDataPtr = vCardConfObj->vCardLocalData;
vCard *ServerDataPtr = vCardConfObj->vCardServerData;
- //vCard *ServerDataPtr = vCardConfObj->vCardServerData;
- //wxString Moo = ClientDataPtr->WriteString();
- //vCard *ServerDataPtr = vCardConfObj->vCardServerData;
frameCR->LoadData(ClientDataPtr, ServerDataPtr, &MemoryFileList);
frameCR->LoadData(ClientDataPtr, ServerDataPtr, &MemoryFileList);
- //frameCR->LoadData(vCardConfObj->vCardLocalData, vCardConfObj->vCardServerData, &MemoryFileList);
frameCR->ShowModal();
int FinalConflictResult = frameCR->GetResult();
frameCR->ShowModal();
int FinalConflictResult = frameCR->GetResult();
@@
-1842,7
+1824,6
@@
void frmMain::OpenFindContactsWindow(wxCommandEvent& event){
void frmMain::RemoveContactsWindowPointer(wxCommandEvent& event){
void frmMain::RemoveContactsWindowPointer(wxCommandEvent& event){
- //frmSearch *frameSCH = static_cast<frmSearch*>(ActMgrPtr);
void *frameSCH = (void*)event.GetClientData();
SearchWindowList.erase(frameSCH);
void *frameSCH = (void*)event.GetClientData();
SearchWindowList.erase(frameSCH);
@@
-1861,20
+1842,6
@@
void frmMain::RemoveContactEditorWindowPointer(wxCommandEvent& event){
}
}
-void frmMain::UpdateWindowList(wxCommandEvent& event){
-
- // Update the Window List.
-
- // Delete the existing items in the window menu.
-
- // Get the list of contacts.
-
- // Insert a separator.
-
- // Get the list of search windows.
-
-}
-
void frmMain::RevealContact(wxCommandEvent& event){
UCNotif *uc = (UCNotif*)event.GetClientData();
void frmMain::RevealContact(wxCommandEvent& event){
UCNotif *uc = (UCNotif*)event.GetClientData();
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software
Xestia Address Book
Xestia Calendar
Development
Xestia Gelforn
Everything else
About
News
Privacy Policy