Yep, you're right !<br>As you saw in the mailing list, there was a problem with managing the git pluging, which was *partially* resolved.<br>In fact the code suggested wasn't totally correct, so I started to talk with apaku, a KDeveloper and Plugin designer,<br>
and I discovered that first, I have to subclass the ShellExtension class in order to setup the KDevplatform stuff, then init()<br>that class, after that retrieve a reference to the Core and use it to retrieve the IPluginController by calling
<meta name="qrichtext" content="1"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><style type="text/css">
p, li { white-space: pre-wrap; }</style> pluginController().<br>Nice, but an other problem arose:<br>when calling
<meta name="qrichtext" content="1"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><style type="text/css">
p, li { white-space: pre-wrap; }</style>pluginForExtension() to recieve a pointer to the git plugin, it returns an invalid pointer all the times =(<br>Talking to apaku, the reason is because i set-up the Core class with the option
<meta name="qrichtext" content="1"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><style type="text/css">
p, li { white-space: pre-wrap; }</style>Core::NoUi, and git sometimes wants to show some gui stuff,<br>like committing with comments. Besides, initalizing the Core with Core::Default creates a full KDevelop gui, which is not our goal !<br>
So, under his suggestion, now I'm using the plugins/git/gitplugin.cpp and I'm modifying the source for our purposes =)<br>I'll commit it as soon as it compiles ( and also works =P ). <br>Good luck with you exams,<br>
<br>Cheers !!<br><div id=":74" class="ii gt"><br><br>
</div><br><br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">---------- Messaggio inoltrato ----------<br>From: Shantanu Tushar Jha <<a href="mailto:jhahoneyk@gmail.com">jhahoneyk@gmail.com</a>><br>
To: <a href="mailto:plasma-devel@kde.org">plasma-devel@kde.org</a><br>Date: Mon, 29 Jun 2009 17:58:02 +0530<br>Subject: Plasmate Status<br>Hi all !<br>
Last IRC meet we had decided that we'll have a mail about the current<br>
development status of Plasmate every two weeks. It has been two weeks<br>
since.<br>
AFAIK, moofang is working on the previewer on the ideas discussed<br>
earlier and Diego is working on the Git integration using<br>
kdevplatform.<br>
I've not been able to write any code as I've final exams right now.<br>
Will join moofang after my exams end on 10th next month.<br>
Guys, add more info about the things I missed.<br>
Lets make Plasmate rock :)<br>
<br>
--<br>
Sent from Gmail for mobile | <a href="http://mobile.google.com" target="_blank">mobile.google.com</a><br>
<br>
Shantanu Tushar (UTC +0530)<br>
<a href="http://www.shantanutushar.com" target="_blank">http://www.shantanutushar.com</a><br></blockquote></div><br>