struct Property;
struct GeneralProperty;
- //\83O\83\8d\81[\83o\83\8b
- extern const CApplicationInfo * appInfo;
- extern CListenerList listenerList;
-
- //\83O\83\8d\81[\83o\83\8b\8aÖ\90\94
- extern VOID UnexpectedErrorMessageShow(LPCTSTR headMessage,LPCTSTR summary,UINT line,LPCTSTR fileName,LPCTSTR function);
- extern HINSTANCE OpenURL(HWND hwnd,const GeneralProperty &gp,LPCTSTR url ,INT nShowCommand);
+
//\83A\83v\83\8a\83P\81[\83V\83\87\83\93\83v\83\8d\83p\83e\83B
extern Property nliteProperty;
};
- namespace nliteregex{
- typedef std::tr1::basic_regex<TCHAR> tregex;
- namespace text{
- extern const CString URL_TEXT;
- extern const CString TAG_TEXT;
- extern const CString VIDEOID_TEXT;
- extern const CString LIVEID_TEXT;
- extern const CString LINK_TEXT;
- }
- extern const tregex URL;
- extern const tregex TAGSTRING;
- extern const tregex VIDEOID;
- extern const tregex LIVEID;
- extern const tregex LILNKREGEX;
- extern const tstring NUTHINGSTRING;
- }
+
///
///\90Ý\92è\83t\83@\83C\83\8b\82Ìxml\93Ç\82Ý\8eæ\82è\97p\83N\83\89\83X
#pragma once
namespace nlite{
- typedef struct{
- LPTSTR *columns;
- UINT_PTR *holizensize;
- UINT_PTR count;
-
- }HEADERSINFO,*LPHEADERSINFO;
+ //\83O\83\8d\81[\83o\83\8b\95Ï\90\94
+ extern const CApplicationInfo * appInfo;
+ extern CListenerList listenerList;
+ //\83O\83\8d\81[\83o\83\8b\8aÖ\90\94
+ extern VOID UnexpectedErrorMessageShow(LPCTSTR headMessage,LPCTSTR summary,UINT line,LPCTSTR fileName,LPCTSTR function);
-
- struct CommentViewProperty{
-
-
- enum CommentTimeType{
- WriteTimeType,
- StreamingTimeType
-
- };
-
-
- public:
- INT_PTR headerholSize[5];
- BOOL commentFoldingFlag;
- CommentTimeType commentTimeType;
- COLORREF backColor;
- COLORREF lineColor;
- COLORREF baseStringColor;
- COLORREF IDLinkColor;
- COLORREF anonymousIDLinkColor;
-
-
- CommentViewProperty():
- commentFoldingFlag(TRUE),
- commentTimeType(StreamingTimeType)
-
- {
-
- memset(headerholSize,-1,sizeof(headerholSize));
- }
- };
+ extern HINSTANCE OpenURL(HWND hwnd,const GeneralProperty &gp,LPCTSTR url ,INT nShowCommand);
///
- ///\83R\83\81\83\93\83g\93Ç\82Ý\8fã\82°\90Ý\92è
+ ///\8ew\92è\82³\82ê\82½\83f\83B\83\8c\83N\83g\83\8a\82É\83t\83@\83C\83\8b\82Ü\82½\82Í\83f\83B\83\8c\83N\83g\83\8a\82ð\8dì\90¬
+ ///\93r\92\86\82Ì\83f\83B\83\8c\83N\83g\83\8a\82ª\91¶\8dÝ\82µ\82È\82¢\8fê\8d\87\81A\83f\83B\83\8c\83N\83g\83\8a\82ð\8e©\93®\93I\82É\8dì\90¬\82·\82é
///
- struct CommentReadProperty{
-
- BOOL commentReadFlag; //\83R\83\81\83\93\83g\93Ç\82Ý\8fã\82°\83t\83\89\83O
- BOOL ngWordReadFlag; //NG\83\8f\81[\83h\93Ç\82Ý\8fã\82°\83t\83\89\83O
- BOOL ngUserReadFlag; //NG\83\86\81[\83U\81[\93Ç\82Ý\8fã\82°\83t\83\89\83O
- BOOL managementReadFlag; //\89^\89c\83R\83\81\83\93\83g\93Ç\82Ý\8fã\82°\83t\83\89\83O
- BOOL bspReadFlag; //\83o\83b\83N\83X\83e\81[\83W\83p\83X\93Ç\82Ý\8fã\82°\83t\83\89\83O
- BOOL userCommentReadFlag; //\83\86\81[\83U\81[\83R\83\81\83\93\83g\93Ç\82Ý\8fã\82°\83t\83\89\83O
- BOOL teropReadFlag; //\83e\83\8d\83b\83v\93Ç\82Ý\8fã\82°\83t\83\89\83O
- BOOL newLineReadFlag; //\89ü\8ds\93Ç\82Ý\8fã\82°\83t\83\89\83O
- BOOL besideLengthFlag; //\93Ç\82Ý\8fã\82°\83T\83C\83Y\8c\88\92è\83t\83\89\83O
- UINT_PTR maxCommentLength; //\93Ç\82Ý\8fã\82°\83T\83C\83Y\90Ý\92è\8e\9e\82Ì\8dÅ\91å\83T\83C\83Y
- tstring shortComment; //\8fÈ\97ª\8e\9e\82É\93Ç\82Ý\8fã\82°\82é\95¶\8e\9a\97ñ
- tstring outString; //\93Ç\82Ý\8fã\82°\8f\9c\8aO\95¶\8e\9a\97ñ
-
- CommentReadProperty():
- commentReadFlag(FALSE),
- ngWordReadFlag(TRUE),
- ngUserReadFlag(TRUE),
- managementReadFlag(TRUE),
- bspReadFlag(TRUE),
- userCommentReadFlag(TRUE),
- teropReadFlag(TRUE)
- {}
-
- };
-
- ///
- ///\88ê\94Ê\90Ý\92è
- ///
- struct GeneralProperty{
- tstring browserPath; //\83u\83\89\83E\83U\82Ì\83p\83X
- BOOL userCountUpdateFlag; //\97\88\8fê\8eÒ\90\94\82ð\8dX\90V\82·\82é\82©\82Ì\83t\83\89\83O
- BOOL commentLogAutoSaveFlag; //\83R\83\81\83\93\83g\8e©\93®\95Û\91¶\97p\82Ì\83t\83\89\83O
- tstring commentPath; //\83R\83\81\83\93\83g\83\8d\83O\95Û\91¶\8fê\8f\8a
- BOOL defaultBroserFlag; //\83\8a\83\93\83N\82ð\8aJ\82\8dÛ\82É\8aî\92ê\82Ì\83u\83\89\83E\83U\82ð\8eg\97p\82·\82é\82©\82Ì\83t\83\89\83O
- BOOL autoNameRegisterFlag; //\83\86\81[\83U\96¼\8e©\93®\93o\98^\83t\83\89\83O
- BOOL autoNameUpdateFlag; //\8e©\93®\93o\98^\8e\9e\82É\8dX\90V\82·\82é\83t\83\89\83O
- BOOL numberNameFlag; //\90\94\8e\9a\82Ì\82Ý\82Ì\96¼\91O\82ð\8b\96\89Â\82·\82é\82©\82Ì\83t\83\89\83O
- BOOL autoColorRegisterFlag; //\96¼\91O\93o\98^\8e\9d\82É\90F\82ð\8e©\93®\93I\82É\8ew\92è\82·\82é\82©\82Ì\83t\83\89\83O
- BOOL activeCountTimeFlag; //\83A\83N\83e\83B\83u\90l\90\94\82ð\8e©\93®\8dX\90V\82·\82é\82©\82Ì\83t\83\89\83O
-
-
- GeneralProperty():
- userCountUpdateFlag(TRUE),
- commentLogAutoSaveFlag(FALSE),
- defaultBroserFlag(TRUE),
- autoNameRegisterFlag(FALSE),
- autoNameUpdateFlag(FALSE),
- numberNameFlag(FALSE),
- autoColorRegisterFlag(FALSE),
- activeCountTimeFlag(TRUE)
- {}
- };
-
-
- ///
- ///\83\81\83C\83\93\90Ý\92è
- ///
- struct MainFrameProperty{
-
- public:
-
- SIZE windowSize; //\83E\83B\83\93\83h\83E\83T\83C\83Y
- BOOL windowFrontFlag; //\83E\83B\83\93\83h\83E\8dÅ\91O\96Ê\95\\8e¦\83t\83\89\83O
-
- ///
- ///\83R\83\93\83X\83g\83\89\83N\83^
- ///
- MainFrameProperty():
- windowFrontFlag(TRUE)
- {
-
- ZeroMemory(&windowSize,sizeof(windowSize));
-
- }
-
- };
-
- ///
- ///nlite\90Ý\92è
- ///
- struct Property{
-
- public:
- CommentViewProperty cvp;
- MainFrameProperty mfp;
- GeneralProperty generalProperty;
- CommentReadProperty commentReadPropety;
-
- ~Property(){}
-
- VOID Initialize(){
- this->~Property();
- new(this) Property;
+ extern BOOL SurelyCreate(LPCTSTR dir,BOOL bFile);
+ namespace nliteregex{
+ typedef std::tr1::basic_regex<TCHAR> tregex;
+ namespace text{
+ extern const CString URL_TEXT;
+ extern const CString TAG_TEXT;
+ extern const CString VIDEOID_TEXT;
+ extern const CString LIVEID_TEXT;
+ extern const CString LINK_TEXT;
}
+ extern const tregex URL;
+ extern const tregex TAGSTRING;
+ extern const tregex VIDEOID;
+ extern const tregex LIVEID;
+ extern const tregex LILNKREGEX;
+ extern const tstring NUTHINGSTRING;
+ }
-
- };
-
}
\ No newline at end of file