Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: titleformat_config_impl (Read 2075 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

titleformat_config_impl

Hi!

Can someone give me some pointers about titleformat_config_impl?

Let's say I want to create %blah% to show in titleformat config page.
The SDK says to do something like:
static titleformat_config_factory g_mytitleformatconfig("this will show up in titleformat config page","%blah%");

I don't really get this... Do I have to derive a class named (for this example) g_mytitleformatconfig from titleformat_config_impl first? And how can I use it afterwards if I want to use void set_data(const char * p_string,unsigned p_string_length) at a later time?

Thanks for any tips! 

 

titleformat_config_impl

Reply #1
Something like this maybe? 

Code: [Select]
titleformat_config_impl g_mytitleformatconfig("this will show up in titleformat config page","%blah%");

static titleformat_config_factory g_mytitleformatconfig;