--- a/homescreenapp/examples/helloworldwidgetplugin/inc/helloworldwidget.h Wed Jun 23 18:03:36 2010 +0300
+++ b/homescreenapp/examples/helloworldwidgetplugin/inc/helloworldwidget.h Tue Jul 06 14:06:53 2010 +0300
@@ -20,7 +20,9 @@
#include <HbWidget>
+// Start of snippet 1
class HelloWorldWidget : public HbWidget
+// End of snippet 1
{
Q_OBJECT
@@ -28,9 +30,11 @@
HelloWorldWidget(QGraphicsItem *parent = 0, Qt::WindowFlags flags = 0);
~HelloWorldWidget();
+// Start of snippet 2
public slots:
void onShow();
void onHide();
+// End of snippet 2
private:
Q_DISABLE_COPY(HelloWorldWidget)