Author Topic: how to get project name?  (Read 7145 times)

Artur Mikolajczyk

  • Guest
how to get project name?
« on: November 13, 2005, 03:30:10 pm »
hello, i try to write simply backup plugin, which will copy all project files to directory (or send to mail or server- in future). and i need to get project name, how to do this ?

thanks for any help. :D

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: how to get project name?
« Reply #1 on: November 13, 2005, 03:51:43 pm »
Hello,

May be you can have a look at the Code::Blocks Development SDK (e.g., projectmanager.h).

Best wishes,
Michael

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: how to get project name?
« Reply #2 on: November 13, 2005, 04:14:09 pm »
If it is really the project's name that you want:

Manager::Get()->GetProjectManager()->GetActiveProject()->GetTitle()
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Artur Mikolajczyk

  • Guest
Re: how to get project name?
« Reply #3 on: November 13, 2005, 04:17:29 pm »
that was really platitude  :oops: