Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

question about specific function in cbproject.h

(1/1)

frithjofh:
Hi everyone,

I did myself some research, but to be really sure, i would like a developers comment on this, i someone would be so kind.

The following function is from cbprojec.h :


--- Code: ---          /** Provides an easy way to iterate all the files belonging in this target.
          * @return A list of files belonging in this target.
          */
        virtual FilesList& GetFilesList(){ return m_Files; }

--- End code ---

My question is, if this file returns all files of a project, all corresponding -Includes included? I guess it does, but maybe I am overlooking something... just to be sure...

Many thanks for any feedback

regards

frithjofh

oBFusCATed:
This function returns all file objects that you see in the project tree in the management -> projects tab.
It can return sources files, headers, some other files.

I'm not sure I understand the question about the includes, but probably this function doesn't return the include paths.

frithjofh:
i probably didn’t express myself very well...

... but the answer suits me perfectly. It was exactly what i needed to know, many thanks.

For the confusing part of my original question: your answer pointed out an error I made reasoning about the function in the first place, so my question really became pointless... :)

thx

Navigation

[0] Message Index

Go to full version