Skip to content

Commit

Permalink
delete screen presenter package; create a seperate package for all pr…
Browse files Browse the repository at this point in the history
…esenter class; provide frame work of all presenter class for use case development
  • Loading branch information
YifanLiu2 committed Jul 19, 2023
1 parent a5302e9 commit e6b0c5a
Show file tree
Hide file tree
Showing 9 changed files with 34 additions and 15 deletions.
4 changes: 0 additions & 4 deletions src/main/java/messagepresenter/MessageResponseModel.java

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package messagepresenter;
package presenter;

public interface MessageOutputBoundary {
MessageResponseModel prepareFail(String msg);

// TODO: complete method signature
MessageResponseModel prepareSuccess(String msg);
}
5 changes: 5 additions & 0 deletions src/main/java/presenter/MessageResponseModel.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package presenter;

// TODO: implement this class
public class MessageResponseModel {
}
8 changes: 8 additions & 0 deletions src/main/java/presenter/TheQuestionOutputBoundary.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package presenter;

public interface TheQuestionOutputBoundary {
TheQuestionResponseModel prepareFail(String msg);

// TODO: complete method signature
TheQuestionResponseModel prepareSuccess();
}
5 changes: 5 additions & 0 deletions src/main/java/presenter/TheQuestionResponseModel.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package presenter;

// TODO: implement this class
public class TheQuestionResponseModel {
}
8 changes: 8 additions & 0 deletions src/main/java/presenter/ViewOutputBoundary.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package presenter;

public interface ViewOutputBoundary {
ViewResponseModel prepareFail(String msg);

// TODO: complete method signature
ViewResponseModel prepareSuccess();
}
5 changes: 5 additions & 0 deletions src/main/java/presenter/ViewResponseModel.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package presenter;

// TODO: implement this class
public class ViewResponseModel {
}
6 changes: 0 additions & 6 deletions src/main/java/screenpresenter/ScreenOutputBoundary.java

This file was deleted.

4 changes: 0 additions & 4 deletions src/main/java/screenpresenter/ScreenResponseModel.java

This file was deleted.

0 comments on commit e6b0c5a

Please sign in to comment.