Skip to content

Commit

Permalink
Introduce fileNamer
Browse files Browse the repository at this point in the history
  • Loading branch information
Ducasse committed Dec 1, 2024
1 parent 2360886 commit de4072d
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/MicroEd/MDFile.class.st
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
"
The class MDFile represents a status to know if there is a file or no.
I'm a file utilities class that controls how files are named.
"
Class {
#name : 'MDFile',
#superclass : 'Object',
#instVars : [
'fileReference',
'nameOfFileReferenceBeforeSaved'
'nameOfFileReferenceBeforeSaved',
'fileNamer'
],
#category : 'MicroEd',
#package : 'MicroEd'
Expand Down
6 changes: 6 additions & 0 deletions src/MicroEd/MDFileNamer.class.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Class {
#name : 'MDFileNamer',
#superclass : 'Object',
#category : 'MicroEd',
#package : 'MicroEd'
}
6 changes: 6 additions & 0 deletions src/MicroEd/TNTFileNamer.class.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Class {
#name : 'TNTFileNamer',
#superclass : 'MDFileNamer',
#category : 'MicroEd',
#package : 'MicroEd'
}

0 comments on commit de4072d

Please sign in to comment.