> why don´t you help a development of hbqt, seems a good api (multiplataform), 
> and you can make include files in a hwgui format

Hi Fernando
Thank you for the invitation! Hbqt seems really very interesting project. Of 
course I would like to help if I could or when I can, but I have to learn more 
about how it works first.
My current commercial focus and programming background are based on Windows. I 
just didn't ever hear about QT or wxWidgets until some days ago and I got very 
glad to know such powerfull crossplataform solutions for harbour as wxHarbour 
and hbqt. I've been studing both.
Now our aplications at 2DInfo are been changed from xHarbour to Harbour and 
from hwGUI to 2DWGUI and once we finish this work, crossplataform funcionality 
is going to be the next step and then I hope we will be ready to participate 
more activelly.
Best Regards
Leandro Damasio




From: Fernando Athayde 
Sent: Tuesday, November 24, 2009 12:51 PM
To: Harbour Project Main Developer List. 
Subject: Res: [Harbour] Singleton Design Pattern in harbour objects


why don´t you help a development of hbqt, seems a good api (multiplataform), 
and you can make include files in a hwgui format

Thanks
Fernando Athayde




--------------------------------------------------------------------------------
De: Leandro Damasio <t...@2dinfo.com.br>
Para: Harbour Project Main Developer List. <harbour@harbour-project.org>
Enviadas: Terça-feira, 24 de Novembro de 2009 12:26:50
Assunto: [Harbour] Singleton Design Pattern in harbour objects


Hi,

My name is Leandro Damasio and I have started to follow Harbour Project Main 
Developer List few days ago. I recently started 2D Informatica with my 
associate Ted, to develop commercial aplications using [x]Harbour. We used 
xHarbour + BCC55 + HWGUI for about 3 years, until we read xhb-diff.txt document 
and decided to try Harbour instead.

We are about to realease 2DWGUI, an Object Oriented Harbour API to Win32 GUI, 
and its going to be a free product but not opensource from start.

Our experience with opensource development is minimal, but I believe we could 
be useful by giving sugestions and/or reporting problems at least.

My first try:

Does harbour have native support to singleton classes? Its an useful design 
pattern to declare unique instance objects, so the same instance is 
reacheable/accessible globally by just calling for the the class name.
We implemented Singleton objects in xHarbour, but I'm sure the native 
implementation should be done better by someone who knows the object machine 
inside.

The Singleton Class usage is like below:

<code>

CLASS Aplication SINGLETON

    DATA Status

    METHOD Init(aParams)
    METHOD Run()
    METHOD End()

ENDCLASS


Procedure Main (...)

Aplication():Init(hb_aParams())

Func2()

Aplication():End()

Return


Static Function Func2()

Aplication():Run()

Return Aplication():Status

</code>

If it is not implemented yet, do you think its a good idea to implement 
natively?

Thanks 
Leandro Damasio



--------------------------------------------------------------------------------
Veja quais são os assuntos do momento no Yahoo! + Buscados: Top 10 - 
Celebridades - Música - Esportes 


--------------------------------------------------------------------------------


_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to