大理水控初始版本
diff --git a/libqr/qrencode.h b/libqr/qrencode.h
new file mode 100644
index 0000000..a3a1130
--- /dev/null
+++ b/libqr/qrencode.h
@@ -0,0 +1,48 @@
+#ifndef QRENCODE_H
+#define QRENCODE_H
+
+#define MAX_MODULESIZE	  25 //41 //50	// 21:Version=1,×î´ó×Ö·û=17(8.5¸öºº×Ö)
+								// 25:Version=2,×î´ó×Ö·û=32(16¸öºº×Ö)
+								// 29:Version=3,×î´ó×Ö·û=53(26.5¸öºº×Ö)
+								// 33:Version=4,×î´ó×Ö·û=78(39¸öºº×Ö)
+								// 37:Version=5,×î´ó×Ö·û=106(53¸öºº×Ö) 
+								// 41:Version=6,×î´ó×Ö·û=134(67¸öºº×Ö) the one
+							 	// 45:Version=7,×î´ó×Ö·û=154(77¸öºº×Ö)
+							 	// 49:Version=8,×î´ó×Ö·û=192(96¸öºº×Ö)
+								// 53: 9
+								// 57: 10
+								// 61: 11
+// #define QR_MARGIN	4
+
+int QRencode(char *lpsSource, char *qr);
+
+//int GetEncodeVersion(int nVersion, char *lpsSource, int ncLength);
+//bool EncodeSourceData(char *lpsSource, int ncLength, int nVerGroup);
+
+//int GetBitLength(BYTE nMode, int ncData, int nVerGroup);
+
+//int SetBitStream(int nIndex, WORD wData, int ncData);
+
+//bool IsNumeralData(unsigned char c);
+//bool IsAlphabetData(unsigned char c);
+
+//BYTE AlphabetToBinaly(unsigned char c);
+
+//void GetRSCodeWord(BYTE *lpbyRSWork, int ncDataCodeWord, int ncRSCodeWord);
+
+//void FormatModule(void);
+
+//void SetFunctionModule(void);
+//void SetFinderPattern(int x, int y);
+//void SetAlignmentPattern(int x, int y);
+//void SetVersionPattern(void);
+//void SetCodeWordPattern(void);
+//void SetMaskingPattern(int nPatternNo);
+//void SetFormatInfoPattern(int nPatternNo);
+//int CountPenalty(void);
+
+extern int m_nSymbleSize;
+extern unsigned char m_byModuleData[MAX_MODULESIZE][MAX_MODULESIZE];
+
+#endif
+