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
Added source, header and unit tests for the NICKNAME property in the ContactDataObject.
[xestiaab/.git]
/
source
/
contacteditor
/
ContactDataObject.h
diff --git
a/source/contacteditor/ContactDataObject.h
b/source/contacteditor/ContactDataObject.h
index
ead05b8
..
d75410b
100644
(file)
--- a/
source/contacteditor/ContactDataObject.h
+++ b/
source/contacteditor/ContactDataObject.h
@@
-44,6
+44,12
@@
enum ContactKindType{
CONTACTKIND_LOCATION
};
CONTACTKIND_LOCATION
};
+enum PropertyType{
+ PROPERTY_NONE,
+ PROPERTY_HOME,
+ PROPERTY_WORK
+};
+
class ContactDataObject{
public:
class ContactDataObject{
public:
@@
-562,6
+568,7
@@
class ContactDataObject{
void ProcessMember(wxString PropertySeg1, wxString PropertySeg2, int *GroupCount);
void ProcessFN(wxString PropertySeg1, wxString PropertySeg2, int *FNCount);
void ProcessN(wxString PropertySeg1, wxString PropertySeg2);
void ProcessMember(wxString PropertySeg1, wxString PropertySeg2, int *GroupCount);
void ProcessFN(wxString PropertySeg1, wxString PropertySeg2, int *FNCount);
void ProcessN(wxString PropertySeg1, wxString PropertySeg2);
+ void ProcessNickname(wxString PropertySeg1, wxString PropertySeg2, int *NicknameCount);
};
};
@@
-569,5
+576,11
@@
void SplitValues(wxString *PropertyLine,
std::map<int,int> *SplitPoints,
std::map<int,int> *SplitLength,
int intSize);
std::map<int,int> *SplitPoints,
std::map<int,int> *SplitLength,
int intSize);
+
+void CheckType(wxString *PropertySeg1,
+ std::map<int,int> *SplitPoints,
+ std::map<int,int> *SplitLength,
+ int *intPrevValue,
+ PropertyType *intType);
#endif
\ No newline at end of file
#endif
\ No newline at end of file
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software
Xestia Address Book
Xestia Calendar
Development
Xestia Gelforn
Everything else
About
News
Privacy Policy