Updating the xcode/Samples.
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
//
|
||||
// Author: preston.jackson@gmail.com (Preston Jackson)
|
||||
// Author: preston.a.jackson@gmail.com (Preston Jackson)
|
||||
//
|
||||
// Google Test - FrameworkSample
|
||||
// widget.h
|
||||
@@ -43,15 +43,15 @@ class Widget {
|
||||
public:
|
||||
Widget(int number, const std::string& name);
|
||||
~Widget();
|
||||
|
||||
|
||||
// Public accessors to number data
|
||||
float GetFloatValue() const;
|
||||
int GetIntValue() const;
|
||||
|
||||
|
||||
// Public accessors to the string data
|
||||
std::string GetStringValue() const;
|
||||
void GetCharPtrValue(char* buffer, size_t max_size) const;
|
||||
|
||||
|
||||
private:
|
||||
// Data members
|
||||
float number_;
|
||||
|
Reference in New Issue
Block a user