/* A set of sourcefiles. */
class Sources
{
- Sources (Sources const &) {}
+ Sources (Sources const &);
vector<Source_file*> sourcefiles_;
- bool is_binary_;
public:
Sources ();
Source_file *get_sourcefile (char const *);
void add (Source_file *sourcefile);
void set_path (File_path *);
- void set_binary (bool);
const File_path *path_;
};
Sources::Sources ()
{
path_ = 0;
- is_binary_ = false;
}
-void
-Sources::set_binary (bool bo)
+
+Sources::Sources (Sources const &)
{
- is_binary_ = bo;
+ assert (false);
}
+
void
Sources::set_path (File_path *f)
{
}
}
-Source_file *
-Sources::get_sourcefile (char const *str0)
-{
- for (vector<Source_file*>::iterator i = sourcefiles_.begin();
- i != sourcefiles_.end (); i++)
- {
- if ((*i)->contains (str0))
- return *i;
- }
-
- return 0;
-}
-