Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
magicseteditor
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
magicseteditor
Commits
a77fc522
Commit
a77fc522
authored
May 31, 2008
by
twanvl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Just commenting
parent
10b8df90
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
src/data/installer.hpp
src/data/installer.hpp
+8
-2
src/gui/packages_window.cpp
src/gui/packages_window.cpp
+2
-0
No files found.
src/data/installer.hpp
View file @
a77fc522
...
...
@@ -21,9 +21,11 @@ DECLARE_POINTER_TYPE(InstallablePackage);
// ----------------------------------------------------------------------------- : Installer
/// A package that contains other packages that can be installed
/** Installers will be sent around the internet, etc. so they are fairly selfcontained.
*/
class
Installer
:
public
Packaged
{
public:
String
prefered_filename
;
///< What filename should be used (by default)
String
prefered_filename
;
///< What filename should be used (by default)
, when creating the installer
vector
<
PackageDescriptionP
>
packages
;
///< Packages to install
/// Add a package to the installer (if it is not already added).
...
...
@@ -41,7 +43,10 @@ class Installer : public Packaged {
// ----------------------------------------------------------------------------- : Installer descriptions
/// A description of a package in an installer
/// A description of a package in an installer.
/** This is essentially the same information as in a Packaged object.
* TODO: try to merge these!
*/
class
PackageDescription
:
public
IntrusivePtrBase
<
PackageDescription
>
{
public:
PackageDescription
();
...
...
@@ -59,6 +64,7 @@ class PackageDescription : public IntrusivePtrBase<PackageDescription> {
vector
<
PackageDependencyP
>
dependencies
;
///< Dependencies of this package
/// Merge two descriptions a package. This package takes precedence
/** Usually one of the descriptions will refer to the locally installed one, the other to the new one */
void
merge
(
const
PackageDescription
&
p2
);
DECLARE_REFLECTION
();
...
...
src/gui/packages_window.cpp
View file @
a77fc522
...
...
@@ -48,6 +48,7 @@ struct HtmlWindowToBrowser : public wxHtmlWindow {
// ----------------------------------------------------------------------------- : DownloadableInstallers
/// Handle downloading of installers
class
DownloadableInstallerList
{
public:
DownloadableInstallerList
()
:
status
(
NONE
)
{}
...
...
@@ -66,6 +67,7 @@ class DownloadableInstallerList {
};
};
/// The global installer downloader
DownloadableInstallerList
downloadable_installers
;
bool
DownloadableInstallerList
::
done
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment