<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,5 +1,5 @@
 #include &quot;HighwindTabCtrl.h&quot;
-
+#include &lt;webcontrol.h&gt;
 HighwindTabCtrl::HighwindTabCtrl(void)
 {
 }
@@ -7,3 +7,16 @@ HighwindTabCtrl::HighwindTabCtrl(void)
 HighwindTabCtrl::~HighwindTabCtrl(void)
 {
 }
+
+int HighwindTabCtrl::AddTab(const wxString&amp; title, const wxString&amp; uri, bool bg = false)
+{
+}
+
+void HighwindTabCtrl::InsertTab(const wxString&amp; title, const wxString&amp; uri, size_t pos = 0, bool bg = false)
+{
+}
+
+wxWebControl *HighwindTabCtrl::GetWebControl(size_t index)
+{
+	return wxAuiNotebook::GetPage(index);
+}
\ No newline at end of file</diff>
      <filename>HighwindTabCtrl.cpp</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,6 @@
 #pragma once
 #include &quot;c:\wxwidgets-2.9.0\include\wx\aui\auibook.h&quot;
-
+class wxWebControl;
 class HighwindTabCtrl :
 	public wxAuiNotebook
 {
@@ -9,4 +9,9 @@ public:
 	virtual ~HighwindTabCtrl(void);
 	//void LoadTabList(const wxJSONValue&amp; list);
 	//void LoadTabList(const wxStringArray&amp; array);
+	int AddTab(const wxString&amp; title, const wxString&amp; uri, bool bg = false);
+	void InsertTab(const wxString&amp; title, const wxString&amp; uri, size_t pos = 0, bool bg = false);
+	void DeleteTab(size_t index);
+	void MoveTab(size_t index, size_t newindex);
+	wxWebControl *GetWebControl(size_t index);
 };</diff>
      <filename>HighwindTabCtrl.h</filename>
    </modified>
    <modified>
      <diff>@@ -1,5 +1,5 @@
 #include &quot;HighwindTabGrpCtrl.h&quot;
-
+#include &quot;HighwindTabCtrl.h&quot;
 HighwindTabGrpCtrl::HighwindTabGrpCtrl(void)
 {
 }
@@ -7,3 +7,18 @@ HighwindTabGrpCtrl::HighwindTabGrpCtrl(void)
 HighwindTabGrpCtrl::~HighwindTabGrpCtrl(void)
 {
 }
+
+void HighwindTabGrpCtrl::OpenUri(const wxString&amp; uri)
+{
+	if(GetPageCount() &lt; 1){
+		HighwindTabCtrl* newctrl = new HighwindTabCtrl();
+		InsertPage(0, tabctrl, wxT(&quot;default&quot;), true);
+	}
+
+	if(GetActiveTabCtrl() == NULL){
+		SetSelection(0);
+	}
+
+	HighwindTabCtrl *tabctrl = (HighwindTabCtrl*)GetPage(GetSelection());
+	tabctrl-&gt;AddTab(wxT(&quot;notitle&quot;), uri);
+}
\ No newline at end of file</diff>
      <filename>HighwindTabGrpCtrl.cpp</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,6 @@
 #pragma once
 #include &quot;c:\wxwidgets-2.9.0\include\wx\aui\auibook.h&quot;
-
+class HighwindTabCtrl;
 class HighwindTabGrpCtrl :
 	public wxAuiNotebook
 {
@@ -8,4 +8,10 @@ public:
 	HighwindTabGrpCtrl(void);
 	virtual ~HighwindTabGrpCtrl(void);
 //	void LoadSession(const wxJSONValue&amp; session);
+	void OpenUri(const wxString&amp; uri);
+	int AddGroup(int flags, bool bg = false);
+	void InsertGroup(int flags, size_t pos = 0, bool bg = false);
+	void DeleteGroup(size_t index);
+	void MoveGroup(size_t index, size_t newindex);
+	HighwindTabCtrl *GetTabControl(size_t index);
 };</diff>
      <filename>HighwindTabGrpCtrl.h</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>91d67a5059edf0b709f6cf12ee88bbf390899b3a</id>
    </parent>
  </parents>
  <author>
    <name>NOSE Takafumi</name>
    <email>ahya365@gmail.com</email>
  </author>
  <url>http://github.com/plus7/Highwind/commit/4cfe2874c2ab5697963946401bf1d2a769f19832</url>
  <id>4cfe2874c2ab5697963946401bf1d2a769f19832</id>
  <committed-date>2009-10-13T09:41:19-07:00</committed-date>
  <authored-date>2009-10-13T09:41:19-07:00</authored-date>
  <message>foo</message>
  <tree>280e6fff54711b88fa370e38c6e201aedcfedfc9</tree>
  <committer>
    <name>NOSE Takafumi</name>
    <email>ahya365@gmail.com</email>
  </committer>
</commit>
