javamanager/javainstaller/installer/javasrc/com/nokia/mj/impl/installer/storagehandler/SuiteInfo.java
equal
deleted
inserted
replaced
71 private int iInitialSize = -1; |
71 private int iInitialSize = -1; |
72 private int iOnScreenKeypad = OSK_UNDEFINED; |
72 private int iOnScreenKeypad = OSK_UNDEFINED; |
73 private String iAccessPoint = null; |
73 private String iAccessPoint = null; |
74 // Flag telling if application suite is trusted |
74 // Flag telling if application suite is trusted |
75 private boolean iTrusted = false; |
75 private boolean iTrusted = false; |
|
76 // Flag telling if preinstallation state should be |
|
77 // reseted in uninstallation. |
|
78 private boolean iResetPreinstall = false; |
76 |
79 |
77 /** Flag telling if default icon should be used. */ |
80 /** Flag telling if default icon should be used. */ |
78 private boolean iUseDefaultIcon = false; |
81 private boolean iUseDefaultIcon = false; |
79 /** Filename for converted icon. This member is not saved into storage. */ |
82 /** Filename for converted icon. This member is not saved into storage. */ |
80 private String iConvertedIconPath = null; |
83 private String iConvertedIconPath = null; |
778 } |
781 } |
779 else |
782 else |
780 { |
783 { |
781 iPreinstallState = STATE_INSTALLED; |
784 iPreinstallState = STATE_INSTALLED; |
782 } |
785 } |
|
786 } |
|
787 |
|
788 /** |
|
789 * Get the flag telling if preinstallation state should be reset. |
|
790 * Used only in uninstallation. |
|
791 */ |
|
792 public boolean getResetPreinstall() |
|
793 { |
|
794 return iResetPreinstall; |
|
795 } |
|
796 |
|
797 /** |
|
798 * Set the flag telling if preinstallation state should be reset. |
|
799 * Used only in uninstallation. |
|
800 */ |
|
801 public void setResetPreinstall(boolean aResetPreinstall) |
|
802 { |
|
803 iResetPreinstall = aResetPreinstall; |
783 } |
804 } |
784 |
805 |
785 /** |
806 /** |
786 * Calculates initial size from MIDlet-Data-Size and |
807 * Calculates initial size from MIDlet-Data-Size and |
787 * MIDlet-Jar-Size attributes, or if they are not present |
808 * MIDlet-Jar-Size attributes, or if they are not present |
863 buf.append(" JarUrl: ").append(getJarUrl()).append("\n"); |
884 buf.append(" JarUrl: ").append(getJarUrl()).append("\n"); |
864 buf.append(" AccessPoint: ").append(getAccessPoint()).append("\n"); |
885 buf.append(" AccessPoint: ").append(getAccessPoint()).append("\n"); |
865 buf.append(" MediaId: ").append(getMediaId()).append("\n"); |
886 buf.append(" MediaId: ").append(getMediaId()).append("\n"); |
866 buf.append(" InitialSize: ").append(getInitialSize()).append("\n"); |
887 buf.append(" InitialSize: ").append(getInitialSize()).append("\n"); |
867 buf.append(" PreinstallState: ").append(iPreinstallState).append("\n"); |
888 buf.append(" PreinstallState: ").append(iPreinstallState).append("\n"); |
|
889 buf.append(" ResetPreinstall: ").append(getResetPreinstall()).append("\n"); |
868 buf.append(" OnScreenKeypad: ").append(getOnScreenKeypad()).append("\n"); |
890 buf.append(" OnScreenKeypad: ").append(getOnScreenKeypad()).append("\n"); |
869 buf.append(" ConvertedIcon: ").append(getConvertedIconPath()).append("\n"); |
891 buf.append(" ConvertedIcon: ").append(getConvertedIconPath()).append("\n"); |
870 buf.append(" Group: ").append(getInstallationGroup()).append("\n"); |
892 buf.append(" Group: ").append(getInstallationGroup()).append("\n"); |
871 buf.append(" Protection domain: ").append(getProtectionDomainName()).append("\n"); |
893 buf.append(" Protection domain: ").append(getProtectionDomainName()).append("\n"); |
872 if (iApplications != null) |
894 if (iApplications != null) |